This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients jmoguill2, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-01-08.17:53:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610128406.22.0.153595554298.issue42863@roundup.psfhosted.org>
In-reply-to
Content
I'm afraid not, at least not without breaking everyone who has hardcoded the paths already. And I'm pretty sure that include directory is never used anymore, either (at least not by distutils, and not by default).

The sysconfig module provides the programmatic interface to the directory structure - I'd suggest using "sysconfig.get_paths()" to find the locations where files may be written to.

I'd also suggest building your native C library to a wheel and then installing that into the virtual environment, as that's the supported way of adding files. In that case, there's other tooling for specifying the destination for particular files, and it all already takes into account the layout on different platforms.
History
Date User Action Args
2021-01-08 17:53:26steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware, jmoguill2
2021-01-08 17:53:26steve.dowersetmessageid: <1610128406.22.0.153595554298.issue42863@roundup.psfhosted.org>
2021-01-08 17:53:26steve.dowerlinkissue42863 messages
2021-01-08 17:53:26steve.dowercreate