fnp
/
django-pagination.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve documentation for using custom pagination templates
[django-pagination.git]
/
setup.py
diff --git
a/setup.py
b/setup.py
index
f1ce26d
..
e39b77c
100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-32,12
+32,20
@@
from setuptools import setup, find_packages
from setuptools import setup, find_packages
-version = "1.1"
+try:
+ import versiontools
+except ImportError:
+ print "This package requires python-versiontools to be configured"
+ print "See: http://packages.python.org/versiontools/installation.html"
+ raise
+
+
+import linaro_django_pagination
setup(
name='linaro-django-pagination',
setup(
name='linaro-django-pagination',
- version=version,
+ version=version
tools.format_version(linaro_django_pagination.__version__)
,
author='Zygmunt Krynicki',
author_email='zygmunt.krynicki@linaro.org',
description="linaro-django-pagination",
author='Zygmunt Krynicki',
author_email='zygmunt.krynicki@linaro.org',
description="linaro-django-pagination",
@@
-63,5
+71,8
@@
setup(
tests_require=[
'django-testproject >= 0.1',
],
tests_require=[
'django-testproject >= 0.1',
],
+ setup_requires=[
+ 'versiontools >= 1.2'
+ ],
include_package_data=True,
)
include_package_data=True,
)