mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 15:40:17 +00:00
03bcf72d90
git-svn-id: http://svn.pyinstaller.org/trunk@844 8dd32b29-ccff-0310-8a9a-9233e24343b1
16 lines
432 B
Batchfile
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 |