-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Feature request: pipenv install --index myindex mypackage
#1852
Comments
Makes sense, although if it's a package that isn't on pypi and your index is in your pipfile already it may work just fine to leave the index off |
Is this technically possible though? While there is |
The example at https://docs.pipenv.org/advanced/#specifying-package-indexes specifies a different index for each requirement, so Pipenv must already support it. |
Yeah good point, doesn’t this already work? |
- Recognizes index names in pipfile - Falls back to assuming index is a url and uses it as such - Actually uses the index when passed at `pipenv install` - Fixes #1852 Signed-off-by: Dan Ryan <[email protected]>
- Always add extra indexes when installing - Look up indexes by key if key is given instead of url - Fixes #1973, #1974, #1852 Signed-off-by: Dan Ryan <[email protected]>
Try |
- Always add extra indexes when installing - Look up indexes by key if key is given instead of url - Fixes #1973, #1974, #1852 Signed-off-by: Dan Ryan <[email protected]>
- Handle extra-index-urls when resolving - Handle extra-index-url when using `--skip-lock` - Parse index arguments when installing individual packages - Translate index aliases to urls - Always include extra indexes when installing a packages - `get_source()` falls back to `parsed_pipfile['source']` for sources when not present in the lockfile (#1994) - Include index and extra-index-url arguments in `pipenv lock -r` output - Fixes #1973, #1974, #1852, #1977, #1994 Signed-off-by: Dan Ryan <[email protected]>
- Always add extra indexes when installing - Look up indexes by key if key is given instead of url - Fixes #1973, #1974, #1852 Signed-off-by: Dan Ryan <[email protected]>
- Handle extra-index-urls when resolving - Handle extra-index-url when using `--skip-lock` - Parse index arguments when installing individual packages - Translate index aliases to urls - Always include extra indexes when installing a packages - `get_source()` falls back to `parsed_pipfile['source']` for sources when not present in the lockfile (#1994) - Include index and extra-index-url arguments in `pipenv lock -r` output - Fixes #1973, #1974, #1852, #1977, #1994 Signed-off-by: Dan Ryan <[email protected]>
- Always add extra indexes when installing - Look up indexes by key if key is given instead of url - Fixes #1973, #1974, #1852 Signed-off-by: Dan Ryan <[email protected]>
- Handle extra-index-urls when resolving - Handle extra-index-url when using `--skip-lock` - Parse index arguments when installing individual packages - Translate index aliases to urls - Always include extra indexes when installing a packages - `get_source()` falls back to `parsed_pipfile['source']` for sources when not present in the lockfile (#1994) - Include index and extra-index-url arguments in `pipenv lock -r` output - Fixes #1973, #1974, #1852, #1977, #1994 Signed-off-by: Dan Ryan <[email protected]>
- Always add extra indexes when installing - Look up indexes by key if key is given instead of url - Fixes #1973, #1974, #1852 Signed-off-by: Dan Ryan <[email protected]>
- Handle extra-index-urls when resolving - Handle extra-index-url when using `--skip-lock` - Parse index arguments when installing individual packages - Translate index aliases to urls - Always include extra indexes when installing a packages - `get_source()` falls back to `parsed_pipfile['source']` for sources when not present in the lockfile (#1994) - Include index and extra-index-url arguments in `pipenv lock -r` output - Fixes #1973, #1974, #1852, #1977, #1994 Signed-off-by: Dan Ryan <[email protected]>
- Always add extra indexes when installing - Look up indexes by key if key is given instead of url - Fixes #1973, #1974, #1852 Signed-off-by: Dan Ryan <[email protected]>
- Handle extra-index-urls when resolving - Handle extra-index-url when using `--skip-lock` - Parse index arguments when installing individual packages - Translate index aliases to urls - Always include extra indexes when installing a packages - `get_source()` falls back to `parsed_pipfile['source']` for sources when not present in the lockfile (#1994) - Include index and extra-index-url arguments in `pipenv lock -r` output - Fixes #1973, #1974, #1852, #1977, #1994 Signed-off-by: Dan Ryan <[email protected]>
- Always add extra indexes when installing - Look up indexes by key if key is given instead of url - Fixes #1973, #1974, #1852 Signed-off-by: Dan Ryan <[email protected]>
- Handle extra-index-urls when resolving - Handle extra-index-url when using `--skip-lock` - Parse index arguments when installing individual packages - Translate index aliases to urls - Always include extra indexes when installing a packages - `get_source()` falls back to `parsed_pipfile['source']` for sources when not present in the lockfile (#1994) - Include index and extra-index-url arguments in `pipenv lock -r` output - Fixes #1973, #1974, #1852, #1977, #1994 Signed-off-by: Dan Ryan <[email protected]>
- Always add extra indexes when installing - Look up indexes by key if key is given instead of url - Fixes #1973, #1974, #1852 Signed-off-by: Dan Ryan <[email protected]>
- Handle extra-index-urls when resolving - Handle extra-index-url when using `--skip-lock` - Parse index arguments when installing individual packages - Translate index aliases to urls - Always include extra indexes when installing a packages - `get_source()` falls back to `parsed_pipfile['source']` for sources when not present in the lockfile (#1994) - Include index and extra-index-url arguments in `pipenv lock -r` output - Fixes #1973, #1974, #1852, #1977, #1994 Signed-off-by: Dan Ryan <[email protected]>
closed by #1980 |
I would like to request a command line option for specifying the source during
pip install
. For example, given this Pipfile (from the docs):I would like to be able to invoke something like:
pipenv install --index home mypackage
Which would install from my "home" index and add this into my Pipfile:
The text was updated successfully, but these errors were encountered: