diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2011-04-27 08:29:50 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2011-04-27 08:29:50 -0400 |
| commit | 06638389e5654a6fd3c78facf2d391dc21b74685 (patch) | |
| tree | 4546cfa42251a1c3cbd002bbc941952848cccbbf /switchpy.cmd | |
| parent | 52184ab8be306ba998033fc70923fe657e0a930f (diff) | |
| download | python-coveragepy-06638389e5654a6fd3c78facf2d391dc21b74685.tar.gz | |
Latest thinking on how to do testing on Windows.
Diffstat (limited to 'switchpy.cmd')
| -rw-r--r-- | switchpy.cmd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/switchpy.cmd b/switchpy.cmd new file mode 100644 index 0000000..089df2a --- /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
|
