Author: Maciej Fijalkowski <[email protected]>
Branch: 
Changeset: r220:4485ad26c4b5
Date: 2013-03-23 14:16 -0700
http://bitbucket.org/pypy/jitviewer/changeset/4485ad26c4b5/

Log:    pip is sooooo broken

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,13 @@
 #!/usr/bin/env pypy-c
 
+import os
 from setuptools import setup
 
+rest = []
+for dirname, _, filenames in 
os.walk(os.path.join(os.path.join(os.path.dirname(__file__), '_jitviewer'), 
'static')):
+    for x in filenames:
+        rest.append(os.path.join(dirname, x))
+
 setup(name='JitViewer',
       version='0.1',
       description="Viewer for pypy's jit traces",
@@ -12,5 +18,5 @@
       scripts=['bin/jitviewer.py', 'bin/qwebview.py'],
       install_requires=['flask', 'pygments', 'simplejson', 'Jinja2>=2.6'],
       include_package_data=True,
-      package_data={'': ['templates/*.html', 'static/*']},
+      package_data={'': ['templates/*.html'] + rest},
       zip_safe=False)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to