Added build.bat batch file

This commit is contained in:
Bastian Kleineidam 2009-02-24 11:56:25 +01:00
parent 84a6bb3464
commit 5bf592f9c1
3 changed files with 15 additions and 8 deletions

7
build.bat Normal file
View file

@ -0,0 +1,7 @@
@echo off
set PYTHON="c:\Python26\python.exe"
rd /S /Q build
%PYTHON% setup.py sdist --manifest-only
%PYTHON% setup.py build -c mingw32
copy build\lib.win32-2.6\linkcheck\HtmlParser\htmlsax.pyd linkcheck\HtmlParser
copy build\lib.win32-2.6\linkcheck\network\_network.pyd linkcheck\network

View file

@ -1,7 +1,6 @@
@echo off
: batch file for generating the windows .exe installer
set PYTHON="c:\Python26\python.exe"
rd /S /Q build
rd /S /Q dist
%PYTHON% setup.py sdist --manifest-only
%PYTHON% setup.py build -c mingw32 py2exe
@echo off
: batch file for generating the windows .exe installer
set PYTHON="c:\Python26\python.exe"
call build.bat
rd /S /Q dist
%PYTHON% setup.py py2exe

View file

@ -1,3 +1,4 @@
@echo off
c:\python26\python.exe -3 c:\python26\scripts\nosetests -m "^test_.*" tests/
set PYTHON="c:\Python26\python.exe"
%PYTHON% -3 c:\python26\scripts\nosetests -m "^test_.*" tests/
@pause