Tree [c6b02f] legacy-trunk / PC /
History



File Date Author Commit
VC6 2008-09-06 Hirokazu Yamamoto Hirokazu Yamamoto [193382] forgot to remove _bsddb description from readme...
VS7.1 2008-09-06 Amaury Forgeot d'Arc Amaury Forgeot d'Arc [238a08] Align the VS2003 and VS2005 build files with th...
VS8.0 2008-09-06 Amaury Forgeot d'Arc Amaury Forgeot d'Arc [238a08] Align the VS2003 and VS2005 build files with th...
bdist_wininst 2008-07-16 Georg Brandl Georg Brandl [bbd0c9] Merged revisions 63828 via svnmerge from
example_nt 2008-04-09 Christian Heimes Christian Heimes [2e917b] Merged revisions 62194,62197-62198,62204-62205,...
icons 2006-06-08 Thomas Wouters Thomas Wouters [19fd61] Partially merge trunk into p3yk. The removal of...
os2emx 2008-06-10 Georg Brandl Georg Brandl [09eb8d] Remove last traces of cStringIO.
os2vacpp 2008-06-10 Georg Brandl Georg Brandl [09eb8d] Remove last traces of cStringIO.
WinMain.c 2008-05-09 Martin v. Löwis Martin v. Löwis [a44498] Use UNICODE wWinMain, to make CRT initialize __...
_msi.c 2008-08-17 Hirokazu Yamamoto Hirokazu Yamamoto [48dddf] RPC_WSTR is not available Visual Studio 2003 or...
_subprocess.c 2008-07-23 Georg Brandl Georg Brandl [b51cd5] Merged revisions 65012,65035,65037-65040,65048,...
_winreg.c 2008-04-09 Christian Heimes Christian Heimes [2e917b] Merged revisions 62194,62197-62198,62204-62205,...
config.c 2008-06-12 Amaury Forgeot d'Arc Amaury Forgeot d'Arc [fcdf81] On Windows, repair compilation of builtin modul...
dl_nt.c 2007-11-30 Christian Heimes Christian Heimes [f56440] Merged revisions 59234-59238 via svnmerge from
dllbase_nt.txt 2006-04-21 Thomas Wouters Thomas Wouters [f73185] Merge p3yk branch with the trunk up to revision...
empty.c 2004-09-03 Martin v. Löwis Martin v. Löwis [534693] Add main program for icon file.
errmap.h 2006-05-27 Thomas Wouters Thomas Wouters [29ae5e] Much-needed merge (using svnmerge.py this time)...
errmap.mak 2006-05-27 Thomas Wouters Thomas Wouters [29ae5e] Much-needed merge (using svnmerge.py this time)...
frozen_dllmain.c 2010-05-09 Antoine Pitrou Antoine Pitrou [e38335] Recorded merge of revisions 81029 via svnmerge ...
generrmap.c 2006-05-27 Thomas Wouters Thomas Wouters [29ae5e] Much-needed merge (using svnmerge.py this time)...
getpathp.c 2008-06-13 Amaury Forgeot d'Arc Amaury Forgeot d'Arc [b1f4ea] Merged revisions 64214 via svnmerge from
icons.mak 2004-08-13 Martin v. Löwis Martin v. Löwis [f6ac41] Help compiling icons into an exe, for use with ...
icons.rc 2004-08-13 Martin v. Löwis Martin v. Löwis [f6ac41] Help compiling icons into an exe, for use with ...
import_nt.c 2010-05-09 Antoine Pitrou Antoine Pitrou [e38335] Recorded merge of revisions 81029 via svnmerge ...
make_versioninfo.c 2007-05-14 Guido van Rossum Guido van Rossum [00c02c] Merged revisions 55325-55327 via svnmerge from
msvcrtmodule.c 2008-06-13 Amaury Forgeot d'Arc Amaury Forgeot d'Arc [b1f4ea] Merged revisions 64214 via svnmerge from
py.ico 2006-06-08 Thomas Wouters Thomas Wouters [a19c20] Merge the rest of the trunk.
pyc.ico 2006-06-08 Thomas Wouters Thomas Wouters [a19c20] Merge the rest of the trunk.
pycon.ico 2006-06-08 Thomas Wouters Thomas Wouters [a19c20] Merge the rest of the trunk.
pyconfig.h 2008-06-13 Amaury Forgeot d'Arc Amaury Forgeot d'Arc [b1f4ea] Merged revisions 64214 via svnmerge from
python.mk 2011-03-05 Georg Brandl Georg Brandl [e2e182] Add updated .hgeol file and fix newlines in the...
python_exe.rc 1997-12-05 Guido van Rossum Guido van Rossum [4daf09] Add pretty icon to python.exe
python_nt.rc 2008-03-01 Barry Warsaw Barry Warsaw [df1582] Copyright and version tweaks for 3.0a3.
readme.txt 2008-02-09 Christian Heimes Christian Heimes [6260db] Merged revisions 60481,60485,60489-60492,60494-...
testpy.py 2007-08-30 Collin Winter Collin Winter [87a0fd] Fix more lingering print statements.
w9xpopen.c 2008-03-25 Christian Heimes Christian Heimes [6bea2f] Merged revisions 61834,61841-61842,61851-61853,...
winsound.c 2008-06-11 Martin v. Löwis Martin v. Löwis [94f64f] Implement PEP 3121: new module initialization a...

Read Me

Welcome to the "PC" subdirectory of the Python distribution
***********************************************************

This "PC" subdirectory contains complete project files to make
several older PC ports of Python, as well as all the PC-specific
Python source files.  It should be located in the root of the
Python distribution, and there should be directories "Modules",
"Objects", "Python", etc. in the parent directory of this "PC"
subdirectory.  Be sure to read the documentation in the Python
distribution.

Python requires library files such as string.py to be available in
one or more library directories.  The search path of libraries is
set up when Python starts.  To see the current Python library search
path, start Python and enter "import sys" and "print sys.path".

All PC ports use this scheme to try to set up a module search path:

  1) The script location; the current directory without script.
  2) The PYTHONPATH variable, if set.
  3) For Win32 platforms (NT/95), paths specified in the Registry.
  4) Default directories lib, lib/win, lib/test, lib/tkinter;
     these are searched relative to the environment variable
     PYTHONHOME, if set, or relative to the executable and its
     ancestors, if a landmark file (Lib/string.py) is found ,
     or the current directory (not useful).
  5) The directory containing the executable.

The best installation strategy is to put the Python executable (and
DLL, for Win32 platforms) in some convenient directory such as
C:/python, and copy all library files and subdirectories (using XCOPY)
to C:/python/lib.  Then you don't need to set PYTHONPATH.  Otherwise,
set the environment variable PYTHONPATH to your Python search path.
For example,
   set PYTHONPATH=.;d:\python\lib;d:\python\lib\win;d:\python\lib\dos-8x3

There are several add-in modules to build Python programs which use
the native Windows operating environment.  The ports here just make
"QuickWin" and DOS Python versions which support a character-mode
(console) environment.  Look in www.python.org for Tkinter, PythonWin,
WPY and wxPython.

To make a Python port, start the Integrated Development Environment
(IDE) of your compiler, and read in the native "project file"
(or makefile) provided.  This will enable you to change any source
files or build settings so you can make custom builds.

pyconfig.h    An important configuration file specific to PC's.

config.c    The list of C modules to include in the Python PC
            version.  Manually edit this file to add or
            remove Python modules.

testpy.py   A Python test program.  Run this to test your
            Python port.  It should produce copious output,
	    ending in a report on how many tests were OK, how many
	    failed, and how many were skipped.  Don't worry about
	    skipped tests (these test unavailable optional features).


Additional files and subdirectories for 32-bit Windows
======================================================

python_nt.rc   Resource compiler input for python15.dll.

dl_nt.c, import_nt.c
               Additional sources used for 32-bit Windows features.

getpathp.c     Default sys.path calculations (for all PC platforms).

dllbase_nt.txt A (manually maintained) list of base addresses for
               various DLLs, to avoid run-time relocation.

example_nt     A subdirectory showing how to build an extension as a
               DLL.

Legacy support for older versions of Visual Studio
==================================================
The subdirectories VC6, VS7.1 and VS8.0 contain legacy support older
versions of Microsoft Visual Studio. See PCbuild/readme.txt.

EMX development tools for OS/2
==============================

See os2emx/readme.txt. This platform is maintained by Andrew MacIntyre.

IBM VisualAge C/C++ for OS/2
============================

See os2vacpp/readme.txt.  This platform is supported by Jeff Rush.

NOTE: Support for os2vacpp may be dropped in the near future. Please move
      to EMX.

Note for Windows 3.x and DOS users
==================================

Neither Windows 3.x nor DOS is supported any more.  The last Python
version that supported these was Python 1.5.2; the support files were
present in Python 2.0 but weren't updated, and it is not our intention
to support these platforms for Python 2.x.