Commits

Lars Yencken committed bd19b2f

Updates package requirement to use install_requires, and changed id to numeric.

Comments (0)

Files changed (1)

     revision = None
     # Is mercurial installed?
     if os.system('which hg >/dev/null 2>&1') == 0:
-        revision = os.popen('hg id -i 2>/dev/null').read().strip().rstrip('+')
+        revision = os.popen('hg id -n 2>/dev/null').read().strip().rstrip('+')
 
     return revision or 'unknown'
 
         author_email='lljy@csse.unimelb.edu.au',
         url='http://bitbucket.org/lars512/django-checksum/',
         license='GPL',
-        requires=['django (>= 1.0)'],
+        install_requires=['django >= 1.0'],
         packages = ['checksum'],
         package_dir = {'checksum': 'src'},
     )