X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=setup.py;h=c03cf7f5151d98029ae9203073eefacdb735b528;hb=c700523f0bfe517fafdacf1596c1fc0ca895ccff;hp=bc74b139a2ffa53152dc40480af3cfab214eef64;hpb=572198ed6c5d9582d0e406704e37d0f88365ec1f;p=hiprofile diff --git a/setup.py b/setup.py index bc74b13..c03cf7f 100644 --- a/setup.py +++ b/setup.py @@ -10,15 +10,16 @@ setup(name = 'hiprofile', author = 'Jeremy Kerr', author_email = 'jk@ozlabs.org', requires = ['jinja2'], - py_modules = ['hiprofile'], + packages = ['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']), - ]) + 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'], + } + )