Commits

Giacomo Bagnoli committed d27baf5

Integrated versiontools

Comments (0)

Files changed (3)

 syntax: regexp
 .*\.~?~
 .*.pyc
+.*.egg

pasteuwsgi/__init__.py

 #!/usr/bin/env python
 
-version = (0, 2, 0)
-extraversion = ""
-version_string = "Paste uWSGI version %d.%d.%d" % version
 
-__version__ = "%d.%d.%d" % version
-__version__ = __version__ + extraversion
+__version__ = (0, 2, 0, 'alpha', 1)
 __author__ = "Giacomo Bagnoli"
 __copyright__ = 'Copyright (C) 2011, Asidev s.r.l.'
 __maintainer__ = "Giacomo Bagnoli"
 
 setup(
     name='pasteuwsgi',
-    version=pasteuwsgi.__version__,
+    version=':versiontools:pasteuwsgi:',
     author=pasteuwsgi.__author__,
     author_email=pasteuwsgi.__email__,
     packages=['pasteuwsgi'],
     license="MIT",
     description='Paster command to use uwsgi as server for local development',
     long_description=open('README').read(),
-    install_requires = [
+    install_requires = (
         "PasteScript>=1.3",
         "uwsgi"
-    ],
-    test_suite = 'nose.collector',
-    tests_require = [ "Nose" ],
+    ),
+    setup_requires=('versiontools >= 1.8',),
     classifiers  = [
         "Development Status :: 5 - Production/Stable",
         "Intended Audience :: Developers",