[Python-checkins] CVS: python/dist/src/Modules pyexpat.c,NONE,2.1 Setup.in,1.94,1.95
Andrew M. Kuchling
python-dev@python.org
Fri, 31 Mar 2000 10:43:35 -0500 (EST)
Update of /projects/cvsroot/python/dist/src/Modules
In directory amarok:/home/akuchlin/src/Python-1.5/Modules
Modified Files:
Setup.in
Added Files:
pyexpat.c
Log Message:
Added Python interface to Expat XML parser.
The Setup.in entry is sort of a lie; it links with -lexpat, but
Expat's Makefile doesn't actually build a libexpat.a. I'll send
Expat's author a patch to do that; if he doesn't accept it, this
rule will have to list Expat's object files (ick!), or have a
comment explaining how to build a .a file.
Index: Setup.in
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Modules/Setup.in,v
retrieving revision 1.94
retrieving revision 1.95
diff -C2 -r1.94 -r1.95
*** Setup.in 2000/03/31 15:01:27 1.94
--- Setup.in 2000/03/31 15:43:31 1.95
***************
*** 426,429 ****
--- 426,433 ----
#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
+ # Interface to the Expat XML parser
+ #EXPAT_DIR=/usr/local/src/expat/
+ #pyexpat pyexpat.c -I$(EXPAT_DIR)/xmlparse -L$(EXPAT_DIR) -lexpat
+
# Example -- included for reference only:
# xx xxmodule.c