Use setuptools rather than distutils
[hiprofile] / setup.py
index 137a3128604fb42956010495dda56f43e191ca9a..bc74b139a2ffa53152dc40480af3cfab214eef64 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,11 +1,24 @@
 #!/usr/bin/env python
 
-from distutils.core import setup
+from setuptools import setup
 
 setup(name = 'hiprofile',
-        version = '1.0',
+        version = '1.0-rc1',
+        license = 'GPL',
         description = 'HTML interactive profile report generator',
+        url = 'http://ozlabs.org/~jk/projects/hiprofile/',
         author = 'Jeremy Kerr',
         author_email = 'jk@ozlabs.org',
+        requires = ['jinja2'],
         py_modules = ['hiprofile'],
-        scripts = ['scripts/hiprofile'])
+        scripts = ['scripts/hiprofile'],
+        data_files = [('share/hiprofile/',
+                        ['share/hiprofile/base.html',
+                         'share/hiprofile/report.html',
+                         'share/hiprofile/binary.html',
+                         'share/hiprofile/symbol.html',
+                         'share/hiprofile/style.css',
+                         'share/hiprofile/bar.png',
+                         'share/hiprofile/hiprofile.js',
+                         'share/hiprofile/jquery-1.3.1.min.js']),
+                     ])