Equivalent for distutils.ccompiler.new_compiler needed #4540
Labels
distutils deprecation
issues stemming from #4137
Needs Triage
Issues that need to be evaluated for severity and status.
setuptools version
Any version
Python version
Python 312
OS
Windows, Linux
Additional environment information
No response
Description
I use distutils ccompiler.new_compiler() to compile and link .c files (created via cython (with different, modue specific flags), obj files , .rc files, .res files and libraries in dynamic libraries or executables. I also do some (platform) specific changes to the compiler returned (like additional include or library paths, or compiler or linker flags).
By deprecating distutils you are removing this functionality (which does a pretty good job in abstracting different installastion scenarios (C compiler and SDK versions, installation locations, OS, Python versions).
NB: I create some modules automatically (with jinja2) and I want to do my own dependency management
How to Reproduce
Try to do it withot new_compiler()
Other detail
The text was updated successfully, but these errors were encountered: