0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/PCbuild
1998-08-06 04:18:38 +00:00
..
_tkinter.dsp New project files... 1998-08-06 04:04:46 +00:00
.cvsignore Needed. 1998-07-08 02:56:20 +00:00
bsddb.dsp New project files... 1998-08-06 04:04:46 +00:00
parser.dsp New project files... 1998-08-06 04:04:46 +00:00
pcbuild.dsw Put the CRLF back in. 1998-08-06 04:18:38 +00:00
python15.dsp New project files... 1998-08-06 04:04:46 +00:00
python15.wse New project files... 1998-08-06 04:04:46 +00:00
python.dsp New project files... 1998-08-06 04:04:46 +00:00
pythonw.dsp New project files... 1998-08-06 04:04:46 +00:00
readme.txt
zlib.dsp New project files... 1998-08-06 04:04:46 +00:00

Building Python using VC++ 5.x
------------------------------

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) python15 (this builds python15.dll and python15.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: python15_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:
Tcl/Tk	http://sunscript.sun.com/ or http://www.scriptics.com
zlib	http://www.winimage.com/zLibDll
bsddb	Sam Rushing's web/ftp site