summaryrefslogtreecommitdiff
path: root/switchpy.cmd
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-04-27 08:29:50 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-04-27 08:29:50 -0400
commitaa7bd954cba086567c87b085a3ba1f5d045898a2 (patch)
treebf45900d7b61995ab82ee13d9e4fc8ec9fac2771 /switchpy.cmd
parent7082b0742fb2c60177831ca02f485494d394137e (diff)
downloadpython-coveragepy-git-aa7bd954cba086567c87b085a3ba1f5d045898a2.tar.gz
Latest thinking on how to do testing on Windows.
Diffstat (limited to 'switchpy.cmd')
-rw-r--r--switchpy.cmd14
1 files changed, 14 insertions, 0 deletions
diff --git a/switchpy.cmd b/switchpy.cmd
new file mode 100644
index 00000000..089df2a5
--- /dev/null
+++ b/switchpy.cmd
@@ -0,0 +1,14 @@
+@echo off
+set PATH=.;%HOME%\bin
+set PATH=%PATH%;c:\windows\system32;c:\windows
+set PATH=%PATH%;%1\scripts;%1
+set PATH=%PATH%;C:\Program Files\Mercurial\bin
+set PATH=%PATH%;c:\cygwin\bin
+set PATH=%PATH%;c:\app\MinGW\bin
+set PYTHONPATH=;c:\ned\py
+set PYHOME=%1
+rem title Py %1
+if "%2"=="quiet" goto done
+python -c "import sys; print ('\n=== Python %%s %%s' %% (sys.version.split()[0], '='*80))"
+
+:done