From 996425f366c9b828fe8cbe17cc69aa0467ed7b23 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 10 Jul 2002 19:01:25 +0000 Subject: [PATCH] Update the comments on building the pyexpat extension. Closes SF bug #577774. --- Modules/Setup.dist | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/Modules/Setup.dist b/Modules/Setup.dist index f54b13b7fb4a..1071a8e1ac50 100644 --- a/Modules/Setup.dist +++ b/Modules/Setup.dist @@ -439,25 +439,20 @@ GLHACK=-Dclear=__GLclear # Interface to the Expat XML parser # -# Expat is written by James Clark and must be downloaded separately -# (see below). The pyexpat module was written by Paul Prescod after a -# prototype by Jack Jansen. +# Expat was written by James Clark and is now maintained by a group of +# developers on SourceForge; see www.libexpat.org for more +# information. The pyexpat module was written by Paul Prescod after a +# prototype by Jack Jansen. Expat 1.95.2 is the recommended version +# of Expat for use with Python. Usage of a system shared +# libexpat.so/expat.dll is not advised; a static version of the +# library is sufficient. # -# The Expat dist includes Windows .lib and .dll files. Home page is at -# http://www.jclark.com/xml/expat.html, the current production release is -# always ftp://ftp.jclark.com/pub/xml/expat.zip. +# The Expat library should be installed so that the linker will find +# it properly. # -# EXPAT_DIR, below, should point to the expat/ directory created by -# unpacking the Expat source distribution. +# More information on Expat can be found at www.libexpat.org. # -# Note: the expat build process doesn't yet build a libexpat.a; you can -# do this manually while we try convince the author to add it. To do so, -# cd to EXPAT_DIR, run "make" if you have not done so, then run: -# -# ar cr libexpat.a xmltok/*.o xmlparse/*.o -# -#EXPAT_DIR=/usr/local/src/expat -#pyexpat pyexpat.c -I$(EXPAT_DIR)/xmlparse -L$(EXPAT_DIR) -lexpat +#pyexpat pyexpat.c -DHAVE_EXPAT_H -lexpat # Example -- included for reference only: -- 2.47.3