Is there a way to have multiple package lists in adition to [packages] and [dev-packages] in our Pipfile?
See original GitHub issueBeen searching all around but my google skills are failing me.
I have a project in which I have a client and a server which have different package requirements, I’d like to be able to have them be separate in my Pipfile (like its done in [packages] vs [dev-packages]), or maybe have different Pipfiles, not sure how this is usually solved in pipenv. Normally I would have just created several requirements.txt files, but I really really like pipenv’s Pipfiles!
So ideally I would be able to do pipenv install --server
or pipenv install --client
much in the same way I can now do pipenv install
/pipenv install --dev
.
Is this possible atm?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Pipenv: Python's Official Package Management tool
Pipfile is basically a TOML file that has all the details of the different dependencies/packages and the version of Python used in the...
Read more >Identifying the dependency relationship for python packages ...
Use pip install --no-install <package_name> to list specific requirements. Use virtualenv if you don't. Share.
Read more >Advanced Usage of Pipenv
PIPENV_PIPFILE — When running pipenv from a $PWD other than the same directory where the Pipfile is located, instruct pipenv to find the...
Read more >Stop everything! Start using Pipenv! - Bryson Tyrrell
There are two groups for listing packages: dev-packages and packages. In a Pipfile these lists follow how we were handling this where only...
Read more >Pipenv: A Guide to the New Python Packaging Tool
Additionally, it will cover how Pipenv fits in with previous methods for ... It also introduces two new files, the Pipfile (which is...
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
Yes, and you can set up some scripts to help improving the setup experience:
This way the set up (for a server) would be
FYI Kenneth has already rejected this a number of times. It’s going to take a persuasive use case to move him (and me for that matter) on this point. Too many knobs is likely to cause more harm than good.