[pypy-commit] jitviewer default: another try

fijal noreply at buildbot.pypy.org
Sat Mar 23 22:21:49 CET 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r221:75336230aadc
Date: 2013-03-23 14:21 -0700
http://bitbucket.org/pypy/jitviewer/changeset/75336230aadc/

Log:	another try

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -4,9 +4,12 @@
 from setuptools import setup
 
 rest = []
-for dirname, _, filenames in os.walk(os.path.join(os.path.join(os.path.dirname(__file__), '_jitviewer'), 'static')):
+base = os.path.join(os.path.dirname(__file__), '_jitviewer')
+for dirname, _, filenames in os.walk(os.path.join(base, 'static')):
+    dirname = os.path.relpath(dirname, base)
     for x in filenames:
         rest.append(os.path.join(dirname, x))
+print rest
 
 setup(name='JitViewer',
       version='0.1',


More information about the pypy-commit mailing list