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 emve, steve.dower
Date 2022-01-20.00:23:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642638214.02.0.290341747953.issue44673@roundup.psfhosted.org>
In-reply-to
Content
I'm afraid not. The ._pth file is intended for embedding applications that have a static set of search paths.

You may want to try adding a startup file (search for PYTHONSTARTUP) that modifies sys.path directly. Or alternatively if you rename the ._pth file to a regular .pth file, it should disable the isolation protection and use the more flexible algorithm, which *I believe* will resolve relative paths against the current directory rather than where the file lives.
History
Date User Action Args
2022-01-20 00:23:34steve.dowersetrecipients: + steve.dower, emve
2022-01-20 00:23:34steve.dowersetmessageid: <1642638214.02.0.290341747953.issue44673@roundup.psfhosted.org>
2022-01-20 00:23:34steve.dowerlinkissue44673 messages
2022-01-20 00:23:33steve.dowercreate