Opened 5 years ago

Last modified 4 years ago

#59950 new defect

python/distutils: Support compiling C++ files with C++ compiler

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: jmroot (Joshua Root)
Port: python

Description

Python / distutils should support compiling C++ software with the C++ compiler and C++ compiler flags.

See https://bugs.python.org/issue1222585

Not doing this causes ports to fail to build (e.g. #57520, #57621).

I don't know which ports are affected (pythonXY? pyXY-setuptools?)

Change History (1)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

That distutils bug is now fifteen years old but despite all the patches posted there nobody wants to fix it. Meanwhile setuptools seems to have the same problem. Here are some bug reports about that:

https://github.com/pypa/setuptools/issues/1192
https://github.com/pypa/setuptools/issues/1732

Note: See TracTickets for help on using tickets.