Use Python 2.6 in batch files.

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3880 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2009-01-07 19:24:38 +00:00
parent e1b1a63ea2
commit cb7254adbd
4 changed files with 9 additions and 8 deletions

View file

@ -1,6 +1,6 @@
@echo off
REM batch file for generating the windows .exe installer
set PYTHON="c:\Python25\python.exe"
set PYTHON="c:\Python26\python.exe"
cd doc\en
%PYTHON% ..\rest2htmlnav --stylesheet-path=lc.css --time documentation.txt documentation.html
%PYTHON% ..\rest2htmlnav --stylesheet-path=lc.css --time index.txt index.html
@ -11,6 +11,7 @@ cd doc\en
cd ..\..
%PYTHON% setup.py clean --all
%PYTHON% setup.py sdist --manifest-only
%PYTHON% setup.py build -c mingw32 bdist_wininst -b hase.bmp --install-script install-linkchecker.py
:: %PYTHON% setup.py build -c mingw32 bdist_wininst -b hase.bmp --install-script install-linkchecker.py
%PYTHON% setup.py build -c mingw32 py2exe
REM start resource editor for .exe icon
REM "%PROGRAMFILES%\XN Resource Editor\XNResourceEditor.exe"

View file

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

View file

@ -1,3 +1,3 @@
@echo off
set PYTHON="c:\Python 25\python.exe"
set PYTHON="c:\Python26\python.exe"
%PYTHON% linkchecker %*

View file

@ -1,3 +1,3 @@
@echo off
set PYTHON="c:\Python25\python.exe"
set PYTHON="c:\Python26\python.exe"
%PYTHON% test.py -pv --resource=network %*