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 shakfu
Recipients eric.snow, mathias, ncoghlan, ronaldoussoren, shakfu, vstinner
Date 2022-03-14.14:22:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I have exactly the same need and use-case as Mathias in my project which includes a requirement to embed python3 in a relocatable folder structure w which serves as an application package (

This can be done using the Framework structure, thanks to Greg Neagle's solution referenced in (, but not for any python builds with --enabled-shared.

In any case, providing options (at the c-level or otherwise, for embedded applications as described by Mathias would be ideal: "I can imagine to provide several functions to build up the pythonpath starting from something.
So say, have a 'get python path from argv[0]', a 'get python path from shared python library' and a 'get python path from prefix' function (I may miss a variant)."
Date User Action Args
2022-03-14 14:22:51shakfusetrecipients: + shakfu, ronaldoussoren, ncoghlan, vstinner, eric.snow, mathias
2022-03-14 14:22:50shakfusetmessageid: <>
2022-03-14 14:22:50shakfulinkissue18309 messages
2022-03-14 14:22:50shakfucreate