|
Bugzilla – Full Text Bug Listing |
| Summary: | python path does not contain /usr/local | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Karl Pietrzak <kap4020> |
| Component: | Basesystem | Assignee: | Jan Matejek <jmatejek> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | Keywords: | Bad_Design |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Karl Pietrzak
2006-02-09 23:37:14 UTC
At first, I thought this was a Python bug. http://sourceforge.net/tracker/?group_id=5470&atid=105470&func=detail&aid=1428789 The response from the Python devs led me to post it here. Apparently by default Python already contains /usr/local in its path, and--equally important--distutils also supports /usr/local. (see Python dev response above) Fair enough, and they also mentioned ways to implement the desired behaviour. I'll start working on it ASAP. (just on a side note: the python defaults actually do not support this behaviour as they are, it's a side effect of the default configuration. Fortunately, python makes it easy to implement.) *** Bug 149843 has been marked as a duplicate of this bug. *** fixed in Python and updated all modules (hopefully) Note that for sys.path to contain /usr/local/whatever, the directories must exist. That is the standard Python logic. (In reply to comment #4) > fixed in Python and updated all modules (hopefully) Awesome! Thanks Jan Matejek. =) > Note that for sys.path to contain /usr/local/whatever, the directories must > exist. That is the standard Python logic. Right, yes, I remember reading that part of the Python doc. I just wanted to confirm that /usr/local/lib64 will be in the next x86_64 SuSE release, as /usr/local/lib64 is guaranteed to exist. $ rpm -qf /usr/local/lib64 filesystem-10.0-4.2 $ I presume /usr/local/lib is guaranteed to exist on x86 SuSE releases. > I just wanted to confirm that /usr/local/lib64 will be in the next x86_64 SuSE > release, as /usr/local/lib64 is guaranteed to exist. > I presume /usr/local/lib is guaranteed to exist on x86 SuSE releases. that's right, and both mentioned directories will be there |