mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-01 03:24:43 +00:00
Added build.bat batch file
This commit is contained in:
parent
84a6bb3464
commit
5bf592f9c1
3 changed files with 15 additions and 8 deletions
7
build.bat
Normal file
7
build.bat
Normal 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
|
||||
13
dist.bat
13
dist.bat
|
|
@ -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
|
||||
|
|
|
|||
3
test.bat
3
test.bat
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue