I'm looking for suggestions on how to use pipenv
to manage multiple package groups.
In addition to the base and dev
groups, I have test
, jupyter
and dash
.
I don't think it's possible. There are only 2 ways to install packages: production (no option) and non-production (option --dev
). These two groups are hard-coded in the code.
I'd love to see this in official pipenv
here. My suggestion would go to have this directory structure.
├── project
└── requirements
├── dash
│ ├── PipFile
│ └── PipFile.lock
├── dev
│ ├── PipFile
│ └── PipFile.lock
├── jupyter
│ ├── PipFile
│ └── PipFile.lock
└── test
├── PipFile
└── PipFile.lock
and based on what environment you need to work on, you can use after you know where is your virtual env using pipenv --venv
or to use a custom venv
location https://pipenv.kennethreitz.org/advanced/#custom-virtual-environment-location
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With