Replace versioneer with hand-rolled version generation code.
The version of versioneer has an issue that the tarball that is generated on github changes, when the branches and/or tags refering to a commit change. This causes issues for gridsync, which pins the hashes of those tarballs. In addition to that, versioneer doesn't provide a meaningful revision for untagged commits, when run from a github tarball. Given that we only ever consume a github tarball as a github archive (except in local development, where the version number is less important), this replaces versioneer with some hand-rolled code specialized to that use case.
parent
b61f3d4a
No related branches found
No related tags found
Showing
- pyproject.toml 4 additions, 0 deletionspyproject.toml
- setup.cfg 0 additions, 8 deletionssetup.cfg
- setup.py 19 additions, 3 deletionssetup.py
- src/_zkapauthorizer/__init__.py 2 additions, 4 deletionssrc/_zkapauthorizer/__init__.py
- src/_zkapauthorizer/_version.py 44 additions, 514 deletionssrc/_zkapauthorizer/_version.py
- versioneer.py 0 additions, 1822 deletionsversioneer.py
This diff is collapsed.
versioneer.py
deleted
100644 → 0
This diff is collapsed.
Please register or sign in to comment