[Patches] [ python-Patches-442530 ] Distutils config buggy

noreply@sourceforge.net noreply@sourceforge.net
Wed, 18 Jul 2001 11:51:05 -0700


Patches item #442530, was opened at 2001-07-18 11:51
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=442530&group_id=5470

Category: distutils
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tarn Weisner Burton (twburton)
Assigned to: Nobody/Anonymous (nobody)
Summary: Distutils config buggy

Initial Comment:
The config command of distutils has some types in it

First every time the _preprocess or _compile method is 
called the include_dirs argument is omitted.  Second 
the search_cpp method tries to do a re search with the 
line:

if pattern.search(pattern):

which should be

if pattern.search(line):

I've attached a complete corrected version from CVS.

Tarn



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

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