diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2009-09-20 18:05:07 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-09-20 18:05:07 -0400 |
| commit | bb83d13bf720acb8d15173cc4d1484b8521f8930 (patch) | |
| tree | c2bffaa2b52bea16efa559397d6e12ee9452d1fd /three.cmd | |
| parent | 4dadb9ab49529ccdfd4bc7a23f0d799051b24757 (diff) | |
| download | python-coveragepy-git-bb83d13bf720acb8d15173cc4d1484b8521f8930.tar.gz | |
New theory about how to kit for py3k: coverage3k-* kits are for 3.x
Diffstat (limited to 'three.cmd')
| -rw-r--r-- | three.cmd | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -5,18 +5,17 @@ xcopy /s/h/i/e /exclude:notsource.txt . ..\three move ..\three .
cd three
call switchpy 31
-python \python31\Tools\Scripts\2to3.py -w coverage test mock.py
+python \python31\Tools\Scripts\2to3.py --write --nobackups --no-diffs coverage test mock.py
+
make clean
make testdata
-@REM We run coverage out of the source directory, so put built stuff there.
-python setup.py build
-copy build\lib.win32-3.1\coverage\tracer.pyd coverage
+python setup.py install
@REM Run both modes of tracer
set COVERAGE_TEST_TRACER=c
python \python31\Scripts\nosetests3 %1
-del coverage\tracer.pyd
+del \python31\lib\site-packages\coverage\tracer.pyd
set COVERAGE_TEST_TRACER=py
python \python31\Scripts\nosetests3 %1
|
