Add `pipenv add PACKAGE` sub command which replace `pipenv install PACKAGE`
See original GitHub issueIs your feature request related to a problem? Please describe.
pipenv install
has two responsibilities:
- Install all packages in
[packages]
(barepipenv install
) - Install specified package and update
Pipfile
andPipfile.lock
(pipenv install PACKAGE
)
This make confused beginners.
Describe the solution you’d like
I suggest to add pipenv add PACKAGE
which is equivalent to pip install PACKAGE
and to make pipenv install PACKAGE
deprecated.
Describe alternatives you’ve considered
Just remove pipenv install PACKAGE
.
We are able to edit Pipfile If we want to add package.
Additional context
yarn
providesyarn add PACKAGE
correspond topipenv install PACKAGE
.yarn install PACKAGE
was removed.bundler
does not provide sub command correspond topipenv install PACKAGE
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Basic Usage of Pipenv - Read the Docs
$ pipenv install is used for installing packages into the pipenv virtual environment and updating your Pipfile. Along with the basic install command,...
Read more >Add a pipenv sync subcommand (remove update ) #1463
pipenv install package_name - Manually add a new package to pipfile and then again generated a new "normal" lock and then sync ....
Read more >Pipenv: A Guide to the New Python Packaging Tool
Pipenv is a packaging tool for Python that solves some common problems associated with the typical workflow using pip, virtualenv, and the good...
Read more >How to resolve Python package dependencies with pipenv?
First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again. Alternatively, you can use $ pipenv...
Read more >pipenv Documentation - Read the Docs
pipenv install --dev -e . $ cat Pipfile ... [dev-packages]. "e1839a8" = {path = ".", editable = true} ... Note: All sub-dependencies will...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Internally the overlap should be cleaned up. From an api perspective, most users want to use high level commands like install so removing api functionality merely because of overlap seems unnecessary.
I’ll run this by Kenneth and see where we land. Initial pass on the workflow is intuitive enough.
this is not happening