Use test project to run tests
[django-pagination.git] / setup.py
old mode 100644 (file)
new mode 100755 (executable)
index 203b548..f5a152d
--- a/setup.py
+++ b/setup.py
@@ -1,15 +1,11 @@
-import ez_setup
-ez_setup.use_setuptools()
-
+#!/usr/bin/env python
 from setuptools import setup, find_packages
 
-version = '1.0'
-
 setup(
-    name='pagination',
+    name='linaro-django-pagination',
     version=version,
-    description="django-pagination",
-    long_description=open("docs/usage.txt").read(),
+    description="linaro-django-pagination",
+    long_description=open("README").read(),
     classifiers=[
         "Programming Language :: Python",
         "Topic :: Software Development :: Libraries :: Python Modules",
@@ -17,12 +13,18 @@ setup(
         "Environment :: Web Environment",
     ],
     keywords='pagination,django',
-    author='Eric Florenzano',
-    author_email='floguy@gmail.com',
-    url='http://www.eflorenzano.com/',
+    author='Zygmunt Krynicki',
+    author_email='zygmunt.krynicki@linaro.org',
+    url='https://github.com/zyga/django-pagination',
+    test_suite='linaro_django_pagination.test_project.tests.run_tests',
     license='BSD',
     packages=find_packages(),
+    install_requires=[
+        'django >= 1.2',
+    ],
+    tests_require=[
+        'django-testproject >= 0.1',
+    ],
     include_package_data=True,
     zip_safe=False,
-    install_requires=['setuptools'],
 )