Files
giovannibajo 03bcf72d90 Merge Python 2.6 for Windows support (py26win branch)
git-svn-id: http://svn.pyinstaller.org/trunk@844 8dd32b29-ccff-0310-8a9a-9233e24343b1
2010-05-21 00:07:21 +00:00

16 lines
432 B
Batchfile

@echo off
echo USAGE %~0 some-python-version
if "%VS90COMNTOOLS%"=="" (
echo ERROR: VS90COMNTOOLS is not set or empty. Make sure Visual C++ 2008 is installed.
exit /B 1
)
if not exist "%~dp1Scripts\scons.bat" (
echo ERROR: %~dp1Scripts\scons.bat does not exist. Make sure SCons is installed.
exit /B 2
)
setlocal
call "%VS90COMNTOOLS%..\..\VC\vcvarsall" %2
path %~dp1\Scripts;%~dp1;%PATH%
pushd "%~dp0"
scons
popd