[issue22140] "python-config --includes" returns a wrong path (double prefix)

2017-09-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 68b131d5b674549bb637b366730497714ad11328 by Benjamin Peterson in branch '3.6': [3.6] closes bpo-22140: Prevent double substitution of prefix in python-config.sh (GH-3769) (#3793)

[issue22140] "python-config --includes" returns a wrong path (double prefix)

2017-09-27 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +3777 ___ Python tracker ___ ___

[issue22140] "python-config --includes" returns a wrong path (double prefix)

2017-09-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 14086cfc5eed8c5e78342d79e5db87a135d75fa8 by Benjamin Peterson (Michał Górny) in branch 'master': closes bpo-22140: Prevent double substitution of prefix in python-config.sh (#3769)

[issue22140] "python-config --includes" returns a wrong path (double prefix)

2017-09-26 Thread Michał Górny
Michał Górny added the comment: I've submitted a pull request with another fix. I've tried to keep the changes at minimal but I couldn't stand keeping meaningless 'echo $x | sed -e s/$x/$y/' ;-). I have to point out that the attached patch is wrong since it does readlink on CFLAGS

[issue22140] "python-config --includes" returns a wrong path (double prefix)

2017-09-26 Thread Michał Górny
Changes by Michał Górny : -- keywords: +patch pull_requests: +3754 stage: needs patch -> patch review ___ Python tracker ___

[issue22140] "python-config --includes" returns a wrong path (double prefix)

2017-09-25 Thread Michał Górny
Changes by Michał Górny : -- nosy: +mgorny ___ Python tracker ___ ___ Python-bugs-list

[issue22140] python-config --includes returns a wrong path (double prefix)

2015-08-23 Thread Alexey Gorshkov
Alexey Gorshkov added the comment: I don't understand: Why python-config needs to seek realpath? Why python-config is trying to be smarter than one who starts ./configure script? As so, the right thing to this, is remove smart parts from python-config. But as for fast hack in to this is

[issue22140] python-config --includes returns a wrong path (double prefix)

2015-07-22 Thread Romain Dossin
Romain Dossin added the comment: I stumbled across the exact same problem and I have made a fix that is working, at least for the usage I have... -- nosy: +rdossin Added file: http://bugs.python.org/file39978/patch_python_sym_links.txt ___ Python

[issue22140] python-config --includes returns a wrong path (double prefix)

2014-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do you want to provide a patch? -- components: +Build -Demos and Tools nosy: +serhiy.storchaka stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22140

[issue22140] python-config --includes returns a wrong path (double prefix)

2014-08-05 Thread Michael Dussere
New submission from Michael Dussere: Our python is installed on a shared directory that is accessed through a symbolic link. $ which python3.4-config /Produits/publics/x86_64.Linux.RH6/python/3.4.1/bin/python3.4-config $ ls -al /Produits lrwxrwxrwx 1 root root 13 Oct 31 2013 /Produits -