X-Git-Url: https://git.mdrn.pl/django-pagination.git/blobdiff_plain/301bedcc8073d960a6cb88515cabcc4e472be2a4..9f75463d048304d55efc85ef2f17cca04a0b2555:/setup.py diff --git a/setup.py b/setup.py index f1ce26d..a3acd63 100755 --- a/setup.py +++ b/setup.py @@ -32,12 +32,10 @@ from setuptools import setup, find_packages -version = "1.1" - - setup( name='linaro-django-pagination', - version=version, + # Magic version handling with versiontools + version=":versiontools:linaro_django_pagination:__version__", author='Zygmunt Krynicki', author_email='zygmunt.krynicki@linaro.org', description="linaro-django-pagination", @@ -63,5 +61,8 @@ setup( tests_require=[ 'django-testproject >= 0.1', ], + setup_requires=[ + 'versiontools >= 1.3.1' + ], include_package_data=True, )