djpy.zip contains the files neccessary to compile Python 1.4 with DJGPP. ------------------------------------- -------------Contents---------------- ------------------------------------- This archive contains the following files: readme.dj makefile python/makefile parser/makefile objects/makefile modules/makefile include/config.h include/osdefs.h modules/signalmodule.c modules/config.c -------------------------------------- -------------Installation------------- -------------------------------------- 1. Unpack python1.4.tar.gz 2. Unzip djpy.zip, replacing the existing osdefs.h and signalmodule.c (the changes in both files are marked with #ifdef __DJGPP__). 3. Run make in the main python directory (python-1.4, not python-1.4/python). The interpreter is python-1.4/python.exe. Example: C:\>djtarx c:\download\python1.4.tar.gz C:\>pkunzip -d c:\download\djpy.zip C:\>cd python-1.4 [next line optional, see below] C:\Python-1.4>set pythonpath=c:/python-1.4/lib C:\Python-1.4>make C:\Python-1.4>python --------------------------------------- -------Environment variables----------- --------------------------------------- The environment variable PYTHONPATH must be set to the python-1.4/lib subdirectory. There are three ways to do this: 1. Add the command SET PYTHONPATH=... to your AUTOEXEC.BAT 2. Add the following lines to your DJGPP.ENV: [python] PYTHONPATH=... 3. If PYTHONPATH is set when you build python, its contents will be embedded in the .exe as the default value. (i.e. do SET PYTHONPATH=... before running make) ---------------------------------------- ---------------------------------------- This package was tested on a Pentium running Win95 with DJGPP v2.01. If you have any problems, let me know. Ben Darnell bdarnell@vnet.net