[Python-Dev] distutils.build_ext path comparison - python 2.5.2 (original) (raw)
Sven Schrader sven.schrader at gmail.com
Wed May 20 14:31:18 CEST 2009
- Previous message: [Python-Dev] Python on PowerPC?
- Next message: [Python-Dev] distutils.build_ext path comparison - python 2.5.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
since our python installation is located on a symlink'ed directory, our variables "sys.exec_prefix" and "sys.executable" can have different paths. Therefore, the respective test in build_ext.py fails (line 202) and a wrong library directory is obtained.
To fix this issue, I have attached a patch that uses "os.path.samefile" instead, to see whether two files are identical irrespective of its path.
Greetings
Sven Schrader
ps: please CC answers to me, I'm not on the list :-) pps: I hope the attachment isn't inline... -------------- next part -------------- A non-text attachment was scrubbed... Name: python-2.5.2-build_ext-pathcompare.patch Type: text/x-patch Size: 1570 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20090520/cefb0143/attachment-0001.bin>
- Previous message: [Python-Dev] Python on PowerPC?
- Next message: [Python-Dev] distutils.build_ext path comparison - python 2.5.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]