Mail Archives: cygwin/2003/03/12/12:43:59
Volker,
On Tue, Mar 11, 2003 at 01:29:40AM +0100, Dr. Volker Zell wrote:
> >>>>> "Jason" == Jason Tishler <jason AT tishler DOT net> writes:
> Jason> Sorry, until others have this problem, you will have to
> Jason> debug this yourself.
>
> OK I found it.
>
> >From /lib/python2.2/distutils/command/build_ext.py:
>
> # for extensions under Cygwin Python's library directory must be
> # appended to library_dirs
> if sys.platform[:6] == 'cygwin':
> if string.find(sys.executable, sys.exec_prefix) != -1:
> # building third party extensions
> self.library_dirs.append(os.path.join(sys.prefix, "lib", "python" + sys.version[:3], "config"))
> else:
> # building python standard extensions
> self.library_dirs.append('.')
The above code was submitted to Python's SF patch collector on
2001-Jan-19:
http://mail.python.org/pipermail/patches/2001-January/003581.html
and was committed to Python CVS on 2001-Jan-24:
http://sf.net/tracker/?group_id=5470&atid=305470&func=detail&aid=402409
On 2002-Jun-11, the AtheOS port began to leverage it:
http://sf.net/tracker/?func=detail&atid=305470&aid=488073&group_id=5470
> If somebody has /bin in front of /usr/bin in his or her PATH, third
> party extensions will fail to build properly when just calling python
> setup.py build.
AFAICT, you are the only one to notice this issue in over two years. If
you feel strongly about the above, then I recommend you submit a patch
to Python's SF patch collector to change to the behavior to be more to
your liking.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -