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