$Id: README,v 1.11 2001/12/31 19:49:26 jt Exp $ Abstract: This is the README for the Cygwin Python 2.2 distribution. As of Python 2.1, Cygwin Python is built with a DLL core very similar to how Win32 Python is built. This enables Cygwin Python to support building shared extensions with the traditional Misc/Makefile.pre.in and the newer distutils methods. As of Python 2.1.1-2, the Cygwin Python port is essentially complete (at least for Windows NT 4.0 and 2000). The most notable changes are the addition of the _tkinter module and the elimination of the test_poll hang. I was tempted to enable threading in the 2.1.1-2 release too. Unfortunately, there is still one known problem with Cygwin's pthreads support. So, I opted for the more prudent choice which is to continue to disable threading until this problem is resolved. See the issues section for more details, if interested. Requirements: The following packages or later are required to build and/or execute Cygwin Python: Cygwin 1.3.4-1 binutils-20011002-1 gcc 2.95.3-5 The following packages or later are required to build and/or execute some of the standard Cygwin Python extension modules: gdbm-1.8.0-3 (gdbm) libncurses6-5.2-2 (_curses and _curses_panel) ncurses-5.2-7 (_curses and _curses_panel) openssl-0.9.6b-2 (_socket) readline-4.2-3 (readline) tcltk-20001125-1 (_tkinter) zlib-1.1.3-6 (zlib) Install: Cygwin Python does not require any special installation procedures. However, to use the _tkinter module you must define the following environment variables: $ export TCL_LIBRARY=$(cygpath -w /usr/share/tcl8.0) $ export TK_LIBRARY=$(cygpath -w /usr/share/tk8.0) since tcltk-20001125-1 is a native Win32 (i.e., not Cygwin) application. Source: At the time of this writing, the Python source does not quite build OOTB under Cygwin due to two issues. First, there is a bug in a ncurses-5.2-7 header file that prevents the _curses module from building. Second, due to issues with Cygwin's fork() and DLL base address conflicts, the _socket module should be built statically. Both of these problems have been worked around with a small patch to the official Python 2.2 source. See the issues section for more details. I also added the following files to the source archive: CYGWIN-PATCHES/README CYGWIN-PATCHES/build.sh CYGWIN-PATCHES/python.patch and renamed the original source archive to match Cygwin's setup.exe naming conventions. To restore the Python source to its original state, perform the following: $ cd python-2.2 $ patch -R -p1