Lars Yencken avatar Lars Yencken committed 1ef36ae

Switches package management to setuptools, and adds metadata.

Comments (0)

Files changed (2)

 *.log
 *.deb
 *.rpm
+*.egg-info
 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'
 
 setup(
-        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',
         author_email='lljy@csse.unimelb.edu.au',
+        url='http://bitbucket.org/lars512/django-checksum/',
         license='GPL',
         packages = ['checksum'],
-        package_dir = {'checksum': 'src'}
+        package_dir = {'checksum': 'src'},
     )
 
 # vim: ts=4 sw=4 sts=4 et tw=78:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.