From cbb17cbedeec1428289b4171fa3bf1d80db426ea Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Sun, 24 Jul 2016 09:56:34 +0200 Subject: [PATCH] Fix usage of versioneer in setup.py (#362) --- setup.cfg | 4 ++++ setup.py | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 96b08c0..4c4c683 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,10 @@ [bdist_wheel] universal = 1 +# See the docstring in versioneer.py for instructions. Note that you must +# re-run 'versioneer.py setup' after changing this section, and commit the +# resulting files. + [versioneer] VCS = git style = pep440 diff --git a/setup.py b/setup.py index 3d2bed0..20b4b83 100644 --- a/setup.py +++ b/setup.py @@ -50,4 +50,5 @@ setup(name='geopandas', packages=['geopandas', 'geopandas.io', 'geopandas.tools', 'geopandas.datasets'], package_data={'geopandas': data_files}, - install_requires=INSTALL_REQUIRES) + install_requires=INSTALL_REQUIRES, + cmdclass=versioneer.get_cmdclass())