second take at setuptools_scm

since setuptools 18.6 fixes the issues with develop installs

https://github.com/pypa/setuptools/blob/master/CHANGES.rst#186

https://github.com/pypa/setuptools/issues/439
This commit is contained in:
Ronny Pfannschmidt
2016-08-21 18:13:32 +02:00
parent 80cabca21a
commit c3aee4b1e6
4 changed files with 14 additions and 18 deletions

View File

@@ -1,2 +1,5 @@
#
__version__ = '3.1.0.dev0'
__all__ = ['__version__']
try:
from ._version import version as __version__
except ImportError:
__version__ = None # broken installation, we don't even try