[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2748: move to Versioneer for git-based version-string generation
Tahoe-LAFS
trac at tahoe-lafs.org
Tue Mar 22 04:32:56 UTC 2016
#2748: move to Versioneer for git-based version-string generation
-----------------------+------------------------
Reporter: warner | Owner: warner
Type: task | Status: new
Priority: normal | Milestone: 1.11.0
Component: packaging | Version: 1.10.2
Keywords: | Launchpad Bug:
-----------------------+------------------------
(I thought we had this ticketed already, but couldn't find it just now)
We have code in `setup.py` to run `git describe` to figure out what
version string to use. This allows us to make a release by doing "git
tag", without needing to manually update a file each time.
I wrote a system called [https://github.com/warner/versioneer Versioneer]
to do this. It works under py2 and py3, and handles git checkouts, sdist
tarballs, `setup.py install`, `git archive` tarballs, and more.
We should remove our custom `setup.py` code and switch to Versioneer.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2748>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list