Lars Yencken  committed 1ef36ae

Switches package management to setuptools, and adds metadata.

  • Participants
  • Parent commits 05264e8

Comments (0)

Files changed (2)

 Package file for the checksum app.
-from distutils.core import setup
+from setuptools import setup
 import os
 from os import path
     revision = None
     # Is mercurial installed?
     if os.system('which hg >/dev/null 2>&1') == 0:
-        revision = os.popen('hg id -n 2>/dev/null').read().strip()
+        revision = os.popen('hg id -i 2>/dev/null').read().strip().rstrip('+')
     return revision or 'unknown'
-        name='checksum',
-        version='0.1.%s' % get_mercurial_id(),
+        name='django-checksum',
+        version='0.1.r%s' % get_mercurial_id(),
         description='Django checksum app',
+        long_description="""An app for managing static file dependencies using Django's ORM as a data store. This is useful when, for example, building a large resource in many stages from a variety of static dependencies, both data files and python modules. Simple methods are provided for querying whether the generated resource is up-to-date based on the checksum of its dependencies.""",
         author='Lars Yencken',
+        url='',
         packages = ['checksum'],
-        package_dir = {'checksum': 'src'}
+        package_dir = {'checksum': 'src'},
 # vim: ts=4 sw=4 sts=4 et tw=78: