Look far and wide (or "here") for config files, and do substitution#491
Look far and wide (or "here") for config files, and do substitution#491ianb wants to merge 7 commits intopypa:developfrom ianb:master
Conversation
the tar libraries choke when checking valid filenames because they don't resolve symlinks
resolve symlinks in local files
…ackages that aren't in the venv Add a [global] sys.path option that adds to sys.path, updates pkg_resources, and makes the paths be considered 'local' for the purposes of uninstallation
|
Maybe I have to fix my repo. But anyway, I added another commit that allows you to add paths as part of your Then you can uninstall libraries from |
|
This doesn't handle scripts well, though (what virtualenv still does better). I'm not sure how to handle that; scripts need to be rewritten and futzed with quite a bit to make them work. Where to put that futzing, and how to encode that futzing, I'm not sure. Maybe a post-script-creation hook of some sort, and then let people write their own futzers? The kind of futzing would be: and stuff like that, all before running the actual script. It works okay, but requires knowledge of layout that the existing config options don't allow for. |
|
Refreshed here: #519 |
This pull request makes pip look in the current and parent directories for
pip.confand loads it. Also%(here)sgets substituted in config values.Perhaps because I had an old checkout I got a few extra commits in this pull request, not sure what those are about; maybe there's a way to get rid of them.
The motivation here is to make directory-local vendor libraries easier, with a config file like:
Or something like that... the idea isn't complete. Feedback appreciated.