nmake -f makefile.vc MACHINE=%machine% OPTS=%options% INSTALLDIR="%tcltkdir%" install-binaries install-libraries\r
popd\r
)\r
+ if not exist "%builddir%tcl86t%tcl_dbg_ext%.dll" (\r
+ xcopy "%tcltkdir%\bin\tcl86t%tcl_dbg_ext%.dll" "%builddir%"\r
+ )\r
\r
if not exist "%tcltkdir%\bin\tk86t%tcl_dbg_ext%.dll" (\r
pushd "%tkdir%\win"\r
nmake -f makefile.vc MACHINE=%machine% OPTS=%options% INSTALLDIR="%tcltkdir%" TCLDIR="%tcldir%" install-binaries install-libraries\r
popd\r
)\r
+ if not exist "%builddir%tk86t%tcl_dbg_ext%.dll" (\r
+ xcopy "%tcltkdir%\bin\tk86t%tcl_dbg_ext%.dll" "%builddir%"\r
+ )\r
\r
if not exist "%tcltkdir%\lib\tix8.4.3\tix84%tcl_dbg_ext%.dll" (\r
pushd "%tixdir%\win"\r
Unlike the other external libraries listed above, Tk must be built\r
separately before the _tkinter module can be built. This means that\r
a pre-built Tcl/Tk installation is expected in ..\externals\tcltk\r
- (tcltk64 for 64-bit) relative to this directory. See "Getting\r
- External Sources" below for the easiest method to ensure Tcl/Tk is\r
- built.\r
+ (tcltk64 for 64-bit) relative to this directory; the easiest way to\r
+ do so is to build Python using `build.bat -e`, which will build\r
+ Tcl, Tk, and Tix and install them as expected. Note that to\r
+ import and use tkinter, the Tcl and Tk DLLs must be somewhere that\r
+ python.exe can find them, which means that either\r
+ ..\externals\tcltk[64]\bin must be added to PATH, or the DLLs must\r
+ be copied from that folder to be alongside python.exe. `build.bat`\r
+ takes care of it for you by copying the DLLs into the build\r
+ directory.\r
\r
\r
Getting External Sources\r