mirror of
https://github.com/python/cpython.git
synced 2026-01-01 21:14:02 +00:00
- Nix the 'noxp' option, it was for Win2k compatibility (which was dropped with Python 3.3) and made default ttk ugly on post-Win2k systems (#21665) - Use 'OPTS=symbols' instead of 'DEBUG=1'; symbols is the official method - Use core, shell, dlls, install-binaries, and install-libraries targets instead of all and install to avoid trying to 1) build packages that don't work with MSVC 10+ and 2) install unnecessary bits and pieces.
21 lines
930 B
Batchfile
21 lines
930 B
Batchfile
@rem Fetches (and builds if necessary) external dependencies
|
|
|
|
@rem Assume we start inside the Python source directory
|
|
call "Tools\buildbot\external-common.bat"
|
|
call "%VS100COMNTOOLS%\vsvars32.bat"
|
|
|
|
if not exist tcltk\bin\tcl86tg.dll (
|
|
@rem all and install need to be separate invocations, otherwise nmakehlp is not found on install
|
|
cd tcl-8.6.1.0\win
|
|
nmake -f makefile.vc OPTS=symbols INSTALLDIR=..\..\tcltk clean core shell dlls
|
|
nmake -f makefile.vc OPTS=symbols INSTALLDIR=..\..\tcltk install-binaries install-libraries
|
|
cd ..\..
|
|
)
|
|
|
|
if not exist tcltk\bin\tk86tg.dll (
|
|
cd tk-8.6.1.0\win
|
|
nmake -f makefile.vc OPTS=symbols INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.6.1.0 clean
|
|
nmake -f makefile.vc OPTS=symbols INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.6.1.0 all
|
|
nmake -f makefile.vc OPTS=symbols INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.6.1.0 install-binaries install-libraries
|
|
cd ..\..
|
|
)
|