X-Git-Url: https://git.ozlabs.org/?p=hiprofile;a=blobdiff_plain;f=setup.py;h=a26001a3f6677d53910cdbceb259f9e653dde4b7;hp=137a3128604fb42956010495dda56f43e191ca9a;hb=c957f5471fdd8d77fec24fc9520e31070ac77a67;hpb=18fd0ce3407d35a7d45854faa5101b11ed794c5b diff --git a/setup.py b/setup.py index 137a312..a26001a 100644 --- 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'], + } + )