Permalink
Browse files

Add versioneer to generate our version string

My old ad-hoc git-tag-sniffing code was OK but it never supported github
tarballs which was unfortunate. Versioneer handles that case properly
for one, and it seems generally more robust and well-thought-out.
  • Loading branch information...
jmuhlich committed Sep 29, 2015
1 parent d649159 commit ff5760c151c0144d22f3396444df75cb385acdda
Showing with 2,180 additions and 56 deletions.
  1. +1 −0 .gitattributes
  2. +0 −1 .gitignore
  3. +2 −1 MANIFEST.in
  4. +4 −0 pysb/__init__.py
  5. +460 −0 pysb/_version.py
  6. +9 −1 setup.cfg
  7. +5 −53 setup.py
  8. +1,699 −0 versioneer.py
@@ -0,0 +1 @@
pysb/_version.py export-subst
@@ -8,7 +8,6 @@ build/*
dist/*
doc/_build
MANIFEST
RELEASE-VERSION
.idea
*#
*.#*
@@ -1,5 +1,6 @@
include RELEASE-VERSION
include LICENSE.txt
include README.rst
graft doc
prune doc/_build
include versioneer.py
include pysb/_version.py
@@ -13,3 +13,7 @@
else:
import pysb.reinteract_integration
pysb.reinteract_integration.apply_mixins()
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
Oops, something went wrong.

0 comments on commit ff5760c

Please sign in to comment.