Commit af05a728 authored by Tjerk Vreeken's avatar Tjerk Vreeken

Fix _version.py generation for distributions

Versioneer needs to override certain commands, e.g. sdist. We therefore
cannot add a subdictionary to the cmdclass dictionary, but instead have
to put version.get_cmdclass()'s keys and values at the top level.
parent 27688b11
......@@ -48,7 +48,5 @@ setup(
install_requires = install_reqs,
tests_require = ['nose'],
test_suite = 'nose.collector',
cmdclass = {
'versioneer': versioneer.get_cmdclass(),
},
cmdclass = versioneer.get_cmdclass(),
)
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