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( ...@@ -48,7 +48,5 @@ setup(
install_requires = install_reqs, install_requires = install_reqs,
tests_require = ['nose'], tests_require = ['nose'],
test_suite = 'nose.collector', test_suite = 'nose.collector',
cmdclass = { cmdclass = versioneer.get_cmdclass(),
'versioneer': versioneer.get_cmdclass(), )
},
)
\ No newline at end of file
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