[py-svn] r57357 - py/build
hpk at codespeak.net
hpk at codespeak.net
Sun Aug 17 17:02:59 CEST 2008
Author: hpk
Date: Sun Aug 17 17:02:57 2008
New Revision: 57357
Modified:
py/build/winpath.py
Log:
fix helper script
Modified: py/build/winpath.py
==============================================================================
--- py/build/winpath.py (original)
+++ py/build/winpath.py Sun Aug 17 17:02:57 2008
@@ -5,7 +5,7 @@
class my_install_scripts(install_scripts):
def run(self):
install_scripts.run(self)
- print self.outfiles
+ #print self.outfiles
for fn in self.outfiles:
basename = os.path.basename(fn)
if "." in basename:
@@ -20,7 +20,7 @@
os.remove(newname)
f = open(newname, 'w')
f.write("@echo off\n")
- f.write('python "~dp0\%s" %%*\n' % basename)
+ f.write('python "%%~dp0\%s" %%*\n' % newbasename)
f.close()
cmdclass = {'install_scripts': my_install_scripts}
More information about the pytest-commit
mailing list