cpython/PCbuild
Guido van Rossum 7053b8a422 Mark Hammond:
* 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.
2000-04-21 21:26:08 +00:00
..
_socket.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
_sre.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
_tkinter.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
.cvsignore More files to be ignored. 1998-08-08 20:07:20 +00:00
bsddb.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
mmap.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
parser.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
pcbuild.dsw Added project dependencies -- Mark is right, these are needed. 2000-04-10 17:56:36 +00:00
pyexpat.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
python16.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
python16.wse Install the docs (with fewer rules). 2000-04-10 19:36:27 +00:00
python.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
pythonw.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
readme.txt Updated for Python 1.6 and VC++ 6.0. 2000-03-29 01:51:37 +00:00
select.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
unicodedata.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
winreg.dsp Bit of cleanup on the projects. 2000-03-31 01:33:07 +00:00
winsound.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00
zlib.dsp Mark Hammond: 2000-04-21 21:26:08 +00:00

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