Issue 11637: Add cwd to sys.path for hooks (original) (raw)

Created on 2011-03-22 21:10 by eric.araujo, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
8b9da1557ad2.diff loewis,2011-06-19 20:09 review

| Repositories containing patches | | | | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | | | http://hg.python.org/sandbox/vsajip#fix11637 | | | | | http://hg.python.org/sandbox/vsajip#fix11637 | | | |

Messages (7)
msg131778 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-03-22 21:10
When pysetup is run in a project directory, this dir is not on sys.path, so hooks modules in the dir can’t be found.
msg138651 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-19 17:51
Thanks, I made slight editions, now I’m improving the docs and will commit shortly.
msg138655 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-06-19 19:47
New changeset b732b02bd0ba by Éric Araujo in branch 'default': packaging: Add the project directory to sys.path to support local setup hooks. http://hg.python.org/cpython/rev/b732b02bd0ba
msg138656 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-19 19:48
Thanks!
msg138750 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-20 19:24
See also #12375.
msg145949 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-10-19 19:53
This was fixed for setup hooks but not command hooks; I have a patch for that.
msg213241 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2014-03-12 10:26
No more relevant for distutils2; to be kept in mind for metadata 2.x hooks implementations.
History
Date User Action Args
2022-04-11 14:57:15 admin set github: 55846
2014-03-12 10:26:55 eric.araujo set status: open -> closednosy: + ncoghlanmessages: + resolution: out of datestage: commit review -> resolved
2011-10-19 19:53:04 eric.araujo set status: closed -> openversions: + 3rd partymessages: + resolution: fixed -> (no value)stage: resolved -> commit review
2011-06-20 19:24:56 eric.araujo set messages: +
2011-06-19 20:13:34 eric.araujo set hgrepos: + hgrepo33
2011-06-19 20:09:32 loewis set files: + 8b9da1557ad2.diffkeywords: + patch
2011-06-19 19:48:00 eric.araujo set status: open -> closedresolution: fixedmessages: + stage: commit review -> resolved
2011-06-19 19:47:21 python-dev set nosy: + python-devmessages: +
2011-06-19 17:51:40 eric.araujo set assignee: tarek -> eric.araujostage: needs patch -> commit reviewmessages: + versions: + Python 3.3, - 3rd party
2011-06-19 14:50:51 vinay.sajip set nosy: + vinay.sajip
2011-06-19 14:45:43 vinay.sajip set hgrepos: + hgrepo32
2011-03-22 21:10:29 eric.araujo create