to be somewhere on your PATH. More recent versions of OpenSSL may\r
need a later version of NASM. If OpenSSL's self tests don't pass,\r
you should first try to update NASM and do a full rebuild of\r
- OpenSSL. If you use the Tools\buildbot\external(-amd64).bat method\r
+ OpenSSL. If you use the PCbuild\get_externals.bat method\r
for getting sources, it also downloads a version of NASM which the\r
ssl build script will add to PATH.\r
\r
The last category of sub-projects listed above wrap external projects\r
Python doesn't control, and as such a little more work is required in\r
order to download the relevant source files for each project before they\r
-can be built. The buildbots must ensure that all libraries are present\r
-before building, so the easiest approach is to run either external.bat\r
-or external-amd64.bat (depending on platform) in the ..\Tools\buildbot\r
-directory from ..\, i.e.:\r
-\r
- C:\python\cpython\PCbuild>cd ..\r
- C:\python\cpython>Tools\buildbot\external.bat\r
-\r
-This extracts all the external sub-projects from\r
- http://svn.python.org/projects/external\r
-via Subversion (so you'll need an svn.exe on your PATH) and places them\r
-in ..\externals (relative to this directory).\r
-\r
-It is also possible to download sources from each project's homepage,\r
-though you may have to change the names of some folders in order to make\r
-things work. For instance, if you were to download a version 5.0.7 of\r
-XZ Utils, you would need to extract the archive into ..\externals\xz-5.0.5\r
-anyway, since that is where the solution is set to look for xz. The\r
-same is true for all other external projects.\r
-\r
-The external(-amd64).bat scripts will also build a debug build of\r
-Tcl/Tk, but there aren't any equivalent batch files for building release\r
-versions of Tcl/Tk currently available. If you need to build a release\r
-version of Tcl/Tk, just take a look at the relevant external(-amd64).bat\r
-file and find the two nmake lines, then call each one without the\r
-'DEBUG=1' parameter, i.e.:\r
-\r
-The external-amd64.bat file contains this for tcl:\r
- nmake -f makefile.vc DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 clean all install\r
-\r
-So for a release build, you'd call it as:\r
- nmake -f makefile.vc MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 clean all install\r
-\r
-Note that the above command is called from within ..\externals\tcl-8.6.1.0\win\r
-(relative to this directory); don't forget to build Tk as well as Tcl!\r
-\r
-This will be cleaned up in the future; http://bugs.python.org/issue15968\r
-tracks adding a new tcltk.vcxproj file that will build Tcl/Tk and Tix\r
-the same way the other external projects listed above are built.\r
+can be built. The easiest way to do this is to use the `build.bat`\r
+script in this directory to build Python, and pass the '-e' switch to\r
+tell it to use get_externals.bat to fetch external sources and build\r
+Tcl/Tk and Tix. To use get_externals.bat, you'll need to have\r
+Subversion installed and svn.exe on your PATH. The script will fetch\r
+external library sources from http://svn.python.org/external and place\r
+them in ..\externals (relative to this directory).\r
\r
\r
Building for AMD64\r