diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-08 23:55:45 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-08 23:55:45 (GMT) |
commit | 4a7cae526a7f90a48fedc77ca038d4b16682ed10 (patch) | |
tree | dadca05e9c887f7544f65979642284a5d11eca4a /PCbuild/env.bat | |
parent | f78f12ac60d47ea92bbb2933872268e614fd2a0e (diff) | |
download | cpython-4a7cae526a7f90a48fedc77ca038d4b16682ed10.zip cpython-4a7cae526a7f90a48fedc77ca038d4b16682ed10.tar.gz cpython-4a7cae526a7f90a48fedc77ca038d4b16682ed10.tar.bz2 |
I've created three bat files based on the howto http://wiki.python.org/moin/Building_Python_with_the_free_MS_C_Toolkit
I figured out that the files may suite other developers. The files take care of most problems and makes building Python on Windows easier. Simply double click on build_env.bat to open a shell and type build.
Diffstat (limited to 'PCbuild/env.bat')
-rw-r--r-- | PCbuild/env.bat | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PCbuild/env.bat b/PCbuild/env.bat new file mode 100644 index 0000000..05152fe --- /dev/null +++ b/PCbuild/env.bat @@ -0,0 +1,22 @@ +@echo off +rem Set these values according to where you installed the software +rem You need to install the necessary bits mentioned in: +rem http://wiki.python.org/moin/Building_Python_with_the_free_MS_C_Toolkit + +set TOOLKIT=%ProgramFiles%\Microsoft Visual C++ Toolkit 2003 +set SDK=%ProgramFiles%\Microsoft Platform SDK for Windows Server 2003 R2 +set NET=%ProgramFiles%\Microsoft Visual Studio .NET 2003 +set NANT=%ProgramFiles%\Nant + +set PATH=%TOOLKIT%\bin;%PATH%;%SDK%\Bin\Win64;%NANT%\bin;%SDK%\bin +set INCLUDE=%TOOLKIT%\include;%SDK%\Include;%INCLUDE% +set LIB=%TOOLKIT%\lib;%NET%\VC7\lib;%SDK%\lib;%LIB% + +echo Build environment for Python +echo TOOLKIT=%TOOLKIT% +echo SDK=%SDK% +echo NET=%NET% +echo NANT=%NANT% +echo Commands: +echo * build +echo * rt |