Oops, do not return new_context just yet, update and then return
[django-pagination.git] / setup.py
index f1ce26d..a3acd63 100755 (executable)
--- a/setup.py
+++ b/setup.py
 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,
 )