[New-bugs-announce] [issue12375] Add packages_root to sys.path for hooks
Erik Bray
report at bugs.python.org
Mon Jun 20 18:23:35 CEST 2011
New submission from Erik Bray <erik.m.bray at gmail.com>:
I just saw issue11637 [Add cwd to sys.path for hooks] and was reminded that this would also be useful (and in fact necessary if hook code is in a package that's under some root other than cwd).
On a related matter, the current use of Distribution.package_dir is confusing. Sometimes it's assumed to be a string, though in other parts of the code it's assumed to be a dict to support multiple package dirs--something which I thought was going away.
----------
assignee: tarek
components: Distutils2
messages: 138737
nosy: alexis, eric.araujo, erik.bray, tarek
priority: normal
severity: normal
status: open
title: Add packages_root to sys.path for hooks
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12375>
_______________________________________
More information about the New-bugs-announce
mailing list