From bb83d13bf720acb8d15173cc4d1484b8521f8930 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 20 Sep 2009 18:05:07 -0400 Subject: New theory about how to kit for py3k: coverage3k-* kits are for 3.x --- three.cmd | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'three.cmd') diff --git a/three.cmd b/three.cmd index 6fb56f53..aab61f20 100644 --- a/three.cmd +++ b/three.cmd @@ -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 -- cgit v1.2.1