[Python-bugs-list] [ python-Bugs-468120 ] setup.py assumes existence of /usr/local

noreply@sourceforge.net noreply@sourceforge.net
Wed, 23 Jan 2002 07:58:20 -0800


Bugs item #468120, was opened at 2001-10-04 16:46
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=468120&group_id=5470

>Category: Build
Group: Python 2.1.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Richard Jones (richard)
>Assigned to: Michael Hudson (mwh)
Summary: setup.py assumes existence of /usr/local

Initial Comment:
/usr/local doesn't exist on Max OS X, so the lines in 
setup.py at the start of detect_modules should 
propbably have:

if os.path.isdir('/usr/local/lib') and 
'/usr/local/lib' not in self.compilier.library_dirs:

etc.



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

>Comment By: Michael Hudson (mwh)
Date: 2002-01-23 07:58

Message:
Logged In: YES 
user_id=6656

Aha!  This was the bug I fixed as a side effect of other
work but then couldn't find in the tracker.

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

Comment By: Martin v. Löwis (loewis)
Date: 2001-10-07 12:57

Message:
Logged In: YES 
user_id=21627

Please give as much detail as possible. What is the exact 
text of the warning message? Can you guess what program is 
generating it?

When I add a non-existing directory in my copy of 
setup.py, no disturbing warnings are produced.


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

Comment By: Richard Jones (richard)
Date: 2001-10-07 00:38

Message:
Logged In: YES 
user_id=6405

It generates a warning, several lines long, for each 
compile command. Doesn't break, just makes the compile 
more verbose than necessary :)



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

Comment By: Martin v. Löwis (loewis)
Date: 2001-10-05 17:13

Message:
Logged In: YES 
user_id=21627

Why is that a problem? What happens with the current code?


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

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