blob: dac8cb3df8356537b0b0d45c540b58175aaa2535 [file] [log] [blame]
Guido van Rossumcd16bf62007-06-13 18:07:49 +00001@rem Fetches (and builds if necessary) external dependencies
2setlocal
3
4@rem need this so that 'devenv' is found
5call "%VS71COMNTOOLS%vsvars32.bat"
6@rem set the build environment
7call "%MSSdk%\SetEnv" /XP64 /RETAIL
8
9@rem Assume we start inside the Python source directory
10cd ..
11
12@rem sqlite
13if not exist sqlite-source-3.3.4 (
14 svn export http://svn.python.org/projects/external/sqlite-source-3.3.4
15 if exist build\PCbuild\sqlite3.dll del build\PCbuild\sqlite3.dll
16)
17if not exist build\PCbuild\sqlite3.dll (
18 cd sqlite-source-3.3.4\amd64
19 cl ..\*.c
20 link /def:..\sqlite3.def /dll *.obj /out:sqlite3.dll bufferoverflowU.lib
21 cd ..\..
22 copy sqlite-source-3.3.4\amd64\sqlite3.dll build\PCbuild
23)
24
25@rem bzip
26if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3
27
28@rem Sleepycat db
29if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20
30if not exist "db-4.4.20\build_win32\Release_AMD64\libdb44s.lib" (
31 cd db-4.4.20\build_win32
32 devenv Berkeley_DB.sln /build "Release AMD64" /project db_static /useenv
33 cd ..\..
34)
35
36@rem OpenSSL
37if not exist openssl-0.9.8a svn export http://svn.python.org/projects/external/openssl-0.9.8a
38
39@rem tcltk
40if not exist tcl8.4.12 (
41 if exist tcltk rd /s/q tcltk
42 svn export http://svn.python.org/projects/external/tcl8.4.12
43 svn export http://svn.python.org/projects/external/tk8.4.12
44)