Commit Graph

3 Commits

Author SHA1 Message Date
bastimeyer 9b0815dbee build: add pyproject.toml, switch to versioningit
- Add basic pyproject.toml with build-system information
- Drop versioneer in favor of versioningit
- Delete versioneer install module and remove its setup.cfg config
- Replace `src/streamlink/_version.py` and load streamlink's version
  string via versioningit. The module's `__version__` export will get
  replaced by a static string on build-time when creating sdists/wheels,
  which results in the old versioneer behavior with support for
  editable installs.
- Make versioningit use the same version format as versioneer
- Update MANIFEST.in and .coveragerc
2022-04-10 07:55:31 +02:00
back-to 5ab2dce6c6 versioneer: always use 7 characters
The nightly version won't get build because Streamlink outputs two different versions,
one with 7 and one with 8 characters.

https://bintray.com/streamlink/streamlink-nightly/streamlink

commit `1a5a5fb2e6fccc5a441f987ccd4e53794542dfc9`

> streamlink-0.14.2_133.g1a5a5fb.exe

length 7

https://travis-ci.org/streamlink/streamlink/jobs/440826462#L3090

> streamlink-0.14.2_133.g1a5a5fb2.exe

length 8

https://travis-ci.org/streamlink/streamlink/jobs/440826462#L3198

---

This is a known issue from versioneer, there is also a solution ...

https://github.com/warner/python-versioneer/issues/156

076e4119f7 (diff-f374b985f7c07f7ff6a8dbaa0b30a10d)
d08bd58dff (diff-4af5de46c624a2c4aa3ff1c3e82d5c4a)

---

Before

Streamlink: 0.14.2+135.gcb587d80

After

Streamlink: 0.14.2+135.gcb587d8
2018-10-16 19:15:03 +00:00
beardypig 416c8347b3 build: use versioneer to set the build number (#1413)
* build: use versioneer to set the build number

* build: update the deploy scripts to use versioneer

* release: update docs version and fix tarball version

* build: no need to install versioneer on travis, etc.
2018-05-13 22:18:52 -07:00