Commit 6073b969 authored by Vincent Pelletier's avatar Vincent Pelletier

all: versioneer-ify.

parent b1fcea93
apachedex/_version.py export-subst
......@@ -6,3 +6,5 @@ include apachedex/apachedex.js
include apachedex/apachedex.css
include parallel_parse.sh
include stdeb.cfg
include versioneer.py
include apachedex/_version.py
......@@ -1647,3 +1647,7 @@ if __name__ == '__main__':
).read()
main()
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
This diff is collapsed.
[versioneer]
VCS = git
style = pep440
versionfile_source = apachedex/_version.py
versionfile_build = apachedex/_version.py
tag_prefix =
parentdir_prefix = APacheDEX-
......@@ -7,6 +7,7 @@ if sys.version_info >= (3, ):
from urllib.request import urlretrieve
else:
from urllib import urlretrieve
import versioneer
FLOT_SHA = 'aefe4e729b2d14efe6e8c0db359cb0e9aa6aae52'
FLOT_AXISLABELS_SHA = '80453cd7fb8a9cad084cf6b581034ada3339dbf8'
......@@ -57,7 +58,8 @@ description = open(join(_file_dirname, 'README.rst')).read()
setup(
name='APacheDEX',
version='1.7.1',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description=next(x for x in description.splitlines() if x.strip()),
long_description=".. contents::\n\n" + description,
author='Vincent Pelletier',
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment