mirror of
https://github.com/python/cpython.git
synced 2025-01-10 10:34:11 +08:00
1561babf0c
svn+ssh://pythondev@svn.python.org/python/trunk ........ r61128 | martin.v.loewis | 2008-02-29 17:59:21 +0100 (Fr, 29 Feb 2008) | 1 line Make _hashlib a separate project. ........ r61132 | georg.brandl | 2008-02-29 19:15:36 +0100 (Fr, 29 Feb 2008) | 2 lines Until we got downloadable docs, stop confusing viewers by talking about a nonexisting table. ........ r61133 | martin.v.loewis | 2008-02-29 19:17:23 +0100 (Fr, 29 Feb 2008) | 1 line Build db-4.4.20 with VS9; remove VS2003 build if necessary. ........ r61135 | georg.brandl | 2008-02-29 19:21:29 +0100 (Fr, 29 Feb 2008) | 2 lines #2208: allow for non-standard HHC location. ........ r61136 | martin.v.loewis | 2008-02-29 19:54:45 +0100 (Fr, 29 Feb 2008) | 1 line Port build_ssl.py to 2.4; support HOST_PYTHON variable ........
47 lines
1.7 KiB
Batchfile
47 lines
1.7 KiB
Batchfile
@rem Fetches (and builds if necessary) external dependencies
|
|
|
|
@rem Assume we start inside the Python source directory
|
|
cd ..
|
|
call "%VS90COMNTOOLS%vsvars32.bat"
|
|
|
|
@rem bzip
|
|
if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3
|
|
|
|
@rem Sleepycat db
|
|
@rem Remove VS 2003 builds
|
|
if exist db-4.4.20 if not exist db-4.4.20\build_win32\this_is_for_vs9 (
|
|
echo Removing old build
|
|
rd /s/q db-4.4.20
|
|
)
|
|
if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20-vs9 db-4.4.20
|
|
if not exist db-4.4.20\build_win32\debug\libdb44sd.lib (
|
|
vcbuild db-4.4.20\build_win32\db_static.vcproj "Debug|Win32"
|
|
)
|
|
|
|
@rem OpenSSL
|
|
if not exist openssl-0.9.8g (
|
|
if exist openssl-0.9.8a rd /s/q openssl-0.9.8a
|
|
svn export http://svn.python.org/projects/external/openssl-0.9.8g
|
|
)
|
|
|
|
@rem tcltk
|
|
if not exist tcl8.4.16 (
|
|
if exist tcltk rd /s/q tcltk
|
|
if exist tcl8.4.12 rd /s/q tcl8.4.12
|
|
if exist tk8.4.12 rd /s/q tk8.4.12
|
|
svn export http://svn.python.org/projects/external/tcl8.4.16
|
|
svn export http://svn.python.org/projects/external/tk8.4.16
|
|
cd tcl8.4.16\win
|
|
nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500
|
|
nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 INSTALLDIR=..\..\tcltk install
|
|
cd ..\..
|
|
cd tk8.4.16\win
|
|
nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 TCLDIR=..\..\tcl8.4.16
|
|
nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 TCLDIR=..\..\tcl8.4.16 INSTALLDIR=..\..\tcltk install
|
|
cd ..\..
|
|
)
|
|
|
|
@rem sqlite
|
|
if not exist sqlite-source-3.3.4 svn export http://svn.python.org/projects/external/sqlite-source-3.3.4
|
|
if not exist build\PCbuild\sqlite3.dll copy sqlite-source-3.3.4\sqlite3.dll build\PCbuild
|