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

Support --index-url and --extra-index-url parameters, the same as pip #41

Open
gthb opened this issue Nov 2, 2013 · 1 comment
Open
Milestone

Comments

@gthb
Copy link

gthb commented Nov 2, 2013

We run (and I imagine many companies run) a local PyPI server with two sides to it: a cache for the actual PyPI, and a local repository for our own internal packages. We use these with pip via the parameters --index-url and --extra-index-url.

Curdling supports the short form -i ... but it should understand the long form --index-url as well, and should understand --extra-index-url.

Less importantly, Curdling is persnickety about the parameter order:

curd -i $PIP_INDEX_URL install -r requirements.txt 
usage: curd [-h] [-l {WARN,ERROR,DEBUG,INFO,WARNING,CRITICAL,NOTSET}]
            [--log-file LOG_FILE] [--log-name LOG_NAME] [-q] [-v]
            {install,uninstall} ...
curd: error: invalid choice: 'http://pypi.mycompany.com/local/' (choose from u'install', u'uninstall')

It needs the -i parameter to come after install, else it gets confused.

@clarete
Copy link
Owner

clarete commented Nov 6, 2013

Just a friendly remind; This bug will be fixed in the next release cycle!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants