[Python-bugs-list] [ python-Bugs-556370 ] Expat improperly described in setup.py

noreply@sourceforge.net noreply@sourceforge.net
Wed, 15 May 2002 10:24:38 -0700


Bugs item #556370, was opened at 2002-05-15 16:59
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=556370&group_id=5470

Category: Installation
Group: Python 2.2.1 candidate
Status: Open
Resolution: None
Priority: 5
Submitted By: Moshe Yudkowsky (myudkowsky)
Assigned to: Nobody/Anonymous (nobody)
Summary: Expat improperly described in setup.py

Initial Comment:
This bug is for 2.2.1, not 2.2.1 "candidate."

Setup.py in the home directory explains how to obtain
the current version of the expat package. However, it
gives the path to the private home page of the original
developer. The package at that location is incorrect;
the correct package is at
<http://sourceforge.net/projects/expat/>.

The stale package introduces several problems:
* The package does not create the "expat.h" in
/usr/include that setup.py looks for
* The stale package does not automatically create libaries

The correct package fixes both of these problems.

SUGGESTED FIX:

* Modify setup.py to point to correct package. Note:
configure, make, make install will install the correct
libaries and include files.

* Modify README to include information about expat.
Speaking as a user, there's no reason for me to suspect
that I have to read setup.py to find out which modules
might not be included when I compile! Information about
expat belongs in README, so that I understand what
packages might be necessary for me to install before I
run the installation process.

HELP:

If you wish to assign me to rewrite this documentation,
I can do so; I'm a little reluctant to touch setup.py
because I only have a Linux setup here, and touching
any py module means testing across builds IMHO.


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2002-05-15 19:24

Message:
Logged In: YES 
user_id=21627

I would appreciate if you could produce a patch (context
diff, please), both for setup.py, and Modules/Setup.

I don't think modifying README is necessary, since the
reader is already directed to read Modules/Setup in README.
If you would like to see specific text, feel free to include
it in your patch.

Please attach the patch to this report.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=556370&group_id=5470