mirror of
https://github.com/python/cpython.git
synced 2024-11-29 21:05:33 +08:00
7053b8a422
* Temp directory for all projects are now specific to the project (rather than common as before). This avoids any conflicts with debug symbols or common file names etc. NOTE: You should manually delete your existing build directory after applying this patch, as the MSVC "clean" command will now only clean the new temporary directories - not the existing common temp directory. * Base address for all extension modules updated. PC\dllbase_nt.txt also updated. Erroneous "libpath" directory removed for all projects. * winsound module moved from a builtin module to an extension module. This was done primarily to avoid Python16.dll needing to pull in winmm.dll. Really dumb test added for winsound - but if nothing else it ensures the module imports. |
||
---|---|---|
.. | ||
_socket.dsp | ||
_sre.dsp | ||
_tkinter.dsp | ||
.cvsignore | ||
bsddb.dsp | ||
mmap.dsp | ||
parser.dsp | ||
pcbuild.dsw | ||
pyexpat.dsp | ||
python16.dsp | ||
python16.wse | ||
python.dsp | ||
pythonw.dsp | ||
readme.txt | ||
select.dsp | ||
unicodedata.dsp | ||
winreg.dsp | ||
winsound.dsp | ||
zlib.dsp |
Building Python using VC++ 5.0 or 6.0 ------------------------------------- This directory is used to build Python for Win32 platforms, e.g. Windows 95, 98 and NT. It requires Microsoft Visual C++ 5.x. (For other Windows platforms and compilers, see ../PC/readme.txt.) Unlike previous versions, there's no longer a need to copy the project files from the PC/vc5x subdirectory to the PCbuild directory -- they come in PCbuild. All you need to do is open the workspace "pcbuild.dsw" in MSVC++, select the Debug or Release setting (using Set Active Configuration... in the Build menu), and build the projects. The proper order to build is 1) python16 (this builds python16.dll and python16.lib) 2) python (this builds python.exe) 3) the other subprojects Some subprojects require that you have distributions of other software: Tcl/Tk, bsddb and zlib. If you don't have these, you can't build the corresponding extensions. If you do have them, you may have to change the project settings to point to the right include files, libraries etc. When using the Debug setting, the output files have a _d added to their name: python16_d.dll, python_d.exe, parser_d.pyd, and so on. If you want to create your own extension module DLL, there's an example with easy-to-follow instructions in ../PC/example/; read the file readme.txt there first. Pointers: Python http://www.python.org Tcl/Tk http://dev.scriptics.com zlib http://www.winimage.com/zLibDll bsddb Sam Rushing's web/ftp site