question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: `pipenv install --index myindex mypackage`

See original GitHub issue

I would like to request a command line option for specifying the source during pip install. For example, given this Pipfile (from the docs):

[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[[source]]
url = "http://pypi.home.kennethreitz.org/simple"
verify_ssl = false
name = "home"

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:

[packages]
mypackage = {version="*", index="home"}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
techalchemycommented, Mar 26, 2018

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

0reactions
techalchemycommented, Apr 17, 2018

closed by #1980

Read more comments on GitHub >

github_iconTop Results From Across the Web

Advanced Usage of Pipenv - Read the Docs
This document covers some of Pipenv's more glorious and advanced features. ... to be installed with a specific package index, you can do...
Read more >
pipenv - Is it possible to use environment variables from “.env ...
I have to use limited credentials to be able to install my packages from the private repository but I wish not to ...
Read more >
Advanced Usage of Pipenv — pipenv 11.7.2 documentation
This document covers some of Pipenv's more glorious and advanced features. ... to be installed with a specific package index, you can do...
Read more >
Pipenv: A Guide to the New Python Packaging Tool
To clarify, put your minimum requirements in setup.py instead of directly with pipenv install . Then use the pipenv install '-e .' command...
Read more >
pipenv Documentation - Read the Docs
Pipenv will install the excellent Requests library and create a Pipfile ... That functionality was deprecated in favor of index restricted packages, which....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found