diff options
author | Zygmunt Krynicki <zygmunt.krynicki@linaro.org> | 2011-06-23 11:53:32 +0200 |
---|---|---|
committer | Zygmunt Krynicki <zygmunt.krynicki@linaro.org> | 2011-06-23 11:53:32 +0200 |
commit | d3f762291672f139df665245162536d7d2269ad7 (patch) | |
tree | fc88a5654fe0b0200123be5e3c4e84f1ecfea8f9 | |
parent | a6a4cec6d8638da70daf0e756fc248ac184d72aa (diff) |
Be pip friendly
-rwxr-xr-x | setup.py | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -19,19 +19,10 @@ from setuptools import setup -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 django_testproject - setup( name='django-testproject', - version=versiontools.format_version(django_testproject.__version__), + version=":versiontools:django_testproject:__version__", author="Zygmunt Krynicki", author_email="zygmunt.krynicki@linaro.org", description="Universal project for running unit tests of Django applications", @@ -57,7 +48,7 @@ setup( 'django >= 1.0', ], setup_requires = [ - 'versiontools >= 1.1', + 'versiontools >= 1.3.1', ], include_package_data=True, ) |