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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user