python3.X-config --includes is listing too many directories

Bug #1850049 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python2.7 (Ubuntu)
New
Undecided
Unassigned
python3.7 (Ubuntu)
New
Undecided
Unassigned
python3.8 (Ubuntu)
New
Undecided
Unassigned

Bug Description

+ python2.7-config --includes
-I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7
+ set +x
+ python3.7-config --includes
-I/usr/include/python3.7m -I/usr/include/python3.7m
+ set +x
+ python3.8-config --includes
-I/usr/include/python3.8 -I/usr/include/python3.8

However, given that /usr/include/python*/pyconfig.h is now magical, imho only one include location should be printed, not two, across all pythons.

... unless of course that will break things. In that case, at least python2.7-config should also print identical duplicate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.