1. Rajeesh Nair
  2. Django-monitor

Commits

Rajeesh Nair  committed 9ecd78a

setup.py uses dynamic version info now.

  • Participants
  • Parent commits 1910a58
  • Branches default

Comments (0)

Files changed (2)

File monitor/__init__.py

View file
  • Ignore whitespace
 __author__ = "Rajeesh Nair"
-__version__ = "0.1.0a"
+__version__ = "0.1.2a"
 __copyright__ = "Copyright (c) 2011 Rajeesh"
 __license__ = "BSD"
 

File setup.py

View file
  • Ignore whitespace
 from setuptools import setup, find_packages
 import os
 
-version = '0.1.2'
+from monitor import __version__ as version, __author__ as author 
 
 setup(
     name = 'django-monitor',
     version = version,
     description = "Django app to moderate model objects",
     long_description = open("README.rst").read(),
+    install_requires = [
+        "django >= 1.1",
+    ]
     classifiers = [
         'Development Status :: 3 - Alpha',
         'Environment :: Web Environment',
         'Framework :: Django',
     ],
     keywords = 'django moderation models',
-    author = 'Rajeesh Nair',
+    author = author,
     author_email = 'rajeeshrnair@gmail.com',
     url = 'http://bitbucket.org/rajeesh/django-monitor',
     license = 'BSD',