[Python-bugs-list] [ python-Bugs-433775 ] module build dir first in test import
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 23 Jan 2002 03:05:27 -0800
Bugs item #433775, was opened at 2001-06-16 10:21
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=433775&group_id=5470
Category: Build
Group: Platform-specific
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Sjoerd Mullender (sjoerd)
Assigned to: Michael Hudson (mwh)
Summary: module build dir first in test import
Initial Comment:
This problem was found on a Linux (RedHat 7.1) system,
but applies to all Unix systems.
In the step "python setup.py build", after a shared
module is built, setup checks whether it can import the
module. During this test, the build directory should
be at the beginning of sys.path to make sure you get
the module that was actually built. Currently, the
build directory is at the end.
----------------------------------------------------------------------
>Comment By: Michael Hudson (mwh)
Date: 2002-01-23 03:05
Message:
Logged In: YES
user_id=6656
Closing.
----------------------------------------------------------------------
Comment By: Michael Hudson (mwh)
Date: 2001-12-24 05:32
Message:
Logged In: YES
user_id=6656
Um. Is this actually a problem now we have python -E?
(this would be easy enough to fix, though, after I actually
found the code that puts the build dir in sys.path -- it's in
site.py, of all places).
----------------------------------------------------------------------
Comment By: Michael Hudson (mwh)
Date: 2001-12-24 05:16
Message:
Logged In: YES
user_id=6656
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=433775&group_id=5470