[py-svn] r57499 - in py/release/0.9.x/py/bin: . win32
hpk at codespeak.net
hpk at codespeak.net
Wed Aug 20 14:15:40 CEST 2008
Author: hpk
Date: Wed Aug 20 14:15:39 2008
New Revision: 57499
Modified:
py/release/0.9.x/py/bin/_genscripts.py
py/release/0.9.x/py/bin/win32/py.cleanup.cmd
py/release/0.9.x/py/bin/win32/py.countloc.cmd
py/release/0.9.x/py/bin/win32/py.lookup.cmd
py/release/0.9.x/py/bin/win32/py.rest.cmd
py/release/0.9.x/py/bin/win32/py.test.cmd
Log:
these win32 scripts are not supposed to be installed via setup.py
but be used directly (maybe doesn'ÄT make sense, but i am keeping them for now)
Modified: py/release/0.9.x/py/bin/_genscripts.py
==============================================================================
--- py/release/0.9.x/py/bin/_genscripts.py (original)
+++ py/release/0.9.x/py/bin/_genscripts.py Wed Aug 20 14:15:39 2008
@@ -18,12 +18,12 @@
def genscript_windows(name):
basename = getbasename(name)
- basename += ".cmd"
- path = mydir.join("win32").join(basename)
+ winbasename = basename + ".cmd"
+ path = mydir.join("win32").join(winbasename)
path.write(py.code.Source("""
@echo off
- python -c "from _findpy import py ; py.cmdline.%s()"
- """ % (name)).strip())
+ python %%dp0\..\%s %%*
+ """ % (basename)).strip())
if __name__ == "__main__":
for name in dir(py.cmdline):
Modified: py/release/0.9.x/py/bin/win32/py.cleanup.cmd
==============================================================================
--- py/release/0.9.x/py/bin/win32/py.cleanup.cmd (original)
+++ py/release/0.9.x/py/bin/win32/py.cleanup.cmd Wed Aug 20 14:15:39 2008
@@ -1,2 +1,2 @@
@echo off
-python -c "from _findpy import py ; py.cmdline.pycleanup()"
\ No newline at end of file
+python %dp0\..\py.cleanup %*
\ No newline at end of file
Modified: py/release/0.9.x/py/bin/win32/py.countloc.cmd
==============================================================================
--- py/release/0.9.x/py/bin/win32/py.countloc.cmd (original)
+++ py/release/0.9.x/py/bin/win32/py.countloc.cmd Wed Aug 20 14:15:39 2008
@@ -1,2 +1,2 @@
@echo off
-python -c "from _findpy import py ; py.cmdline.pycountloc()"
\ No newline at end of file
+python %dp0\..\py.countloc %*
\ No newline at end of file
Modified: py/release/0.9.x/py/bin/win32/py.lookup.cmd
==============================================================================
--- py/release/0.9.x/py/bin/win32/py.lookup.cmd (original)
+++ py/release/0.9.x/py/bin/win32/py.lookup.cmd Wed Aug 20 14:15:39 2008
@@ -1,2 +1,2 @@
@echo off
-python -c "from _findpy import py ; py.cmdline.pylookup()"
\ No newline at end of file
+python %dp0\..\py.lookup %*
\ No newline at end of file
Modified: py/release/0.9.x/py/bin/win32/py.rest.cmd
==============================================================================
--- py/release/0.9.x/py/bin/win32/py.rest.cmd (original)
+++ py/release/0.9.x/py/bin/win32/py.rest.cmd Wed Aug 20 14:15:39 2008
@@ -1,2 +1,2 @@
@echo off
-python -c "from _findpy import py ; py.cmdline.pyrest()"
\ No newline at end of file
+python %dp0\..\py.rest %*
\ No newline at end of file
Modified: py/release/0.9.x/py/bin/win32/py.test.cmd
==============================================================================
--- py/release/0.9.x/py/bin/win32/py.test.cmd (original)
+++ py/release/0.9.x/py/bin/win32/py.test.cmd Wed Aug 20 14:15:39 2008
@@ -1,2 +1,2 @@
@echo off
-python -c "from _findpy import py ; py.cmdline.pytest()"
\ No newline at end of file
+python %dp0\..\py.test %*
\ No newline at end of file
More information about the pytest-commit
mailing list