Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vendor library management support to pip #519

Closed
wants to merge 3 commits into from
Closed

Conversation

ianb
Copy link
Contributor

@ianb ianb commented Apr 26, 2012

Do a lookup for config files, looking from the current directory for pip.conf/.pip.conf/pip.ini
Do some limited %() substitution in config files
Handle empty lines in config files better

This is a refreshing of #491 (with bad commits removed)

Original description:

This pull request makes pip look in the current and parent directories for pip.conf and loads it. Also %(here)s gets substituted in config values.

The motivation here is to make directory-local vendor libraries easier, with a config file like:

[install]
install_option = --install-purelib=%(here)s/vendor
    --install-platlib=%(here)s/vendor-binary
    --install-scripts=%(here)s/vendor/bin

Or something like that... the idea isn't complete. Feedback appreciated.

Do a lookup for config files, looking from the current directory for pip.conf/.pip.conf/pip.ini
Do some limited %() substitution in config files
Handle empty lines in config files better
@ianb
Copy link
Contributor Author

ianb commented Apr 27, 2012

The second commit adds a new option which can be used to facilitate the creation of scripts that use vendor libraries

@pnasrat
Copy link
Contributor

pnasrat commented May 13, 2012

This generally looks good to me, but I'd like to have some tests anyway.

@gvalkov gvalkov mentioned this pull request May 15, 2012
@avinoamr
Copy link

avinoamr commented Feb 4, 2013

@pypa this would be a great addition as it will make the maintenance of self-encapsulating projects easier. Can you please update on the status of this pull-request? I'd love to help fill in the gaps if you think anything's missing.

@pnasrat
Copy link
Contributor

pnasrat commented Feb 6, 2013

@avinoamr as before it needs tests - it also needs to apply cleanly if you want to take that up feel free.

@dstufft
Copy link
Member

dstufft commented Aug 30, 2014

I'm going to close this, It's been awhile and it has no active work being done on it. I'm also not entirely sure that it's a good idea in general.

@dstufft dstufft closed this Aug 30, 2014
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants