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 tdsmith
Recipients brett.cannon, eric.snow, minrk, ncoghlan, tdsmith
Date 2015-06-29.19:57:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In Homebrew we occasionally use .pth files to call site.addsitedir. This is useful when we want to add a directory to sys.path that contains .pth files that also need to be processed (for example, when adding a directory to sys.path that contains namespace packages). It would be helpful to retain a mechanism for adding site dirs from a .pth file.

Homebrew also writes temporary probe .pths containing "import site; site.homebrew_was_here = True" in order to check whether .pth files are processed in a particular path, though we could equivalently write a temporary path to a .pth file and verify that it ends up in sys.path.

Finally, Homebrew asks users to write .pth files with imports in some places where we could use usercustomize instead.
Date User Action Args
2015-06-29 19:57:36tdsmithsetrecipients: + tdsmith, brett.cannon, ncoghlan, eric.snow, minrk
2015-06-29 19:57:36tdsmithsetmessageid: <>
2015-06-29 19:57:36tdsmithlinkissue24534 messages
2015-06-29 19:57:36tdsmithcreate