[Python-Dev] distutils.build_ext path comparison - python 2.5.2

Tarek Ziadé ziade.tarek at gmail.com
Wed May 20 22:58:50 CEST 2009


Hi Sven

can you add an issue with your patch in http://bugs.python.org/

Thanks in advance
Tarek

On Wed, May 20, 2009 at 2:31 PM, Sven Schrader <sven.schrader at gmail.com> wrote:
> 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...
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/ziade.tarek%40gmail.com
>
>



-- 
Tarek Ziadé | http://ziade.org


More information about the Python-Dev mailing list