...
Table of Contents | ||
---|---|---|
|
...
About
Excerpt |
---|
Workflows with python’s new development/packaging environment tool. |
...
Pipenv handles converting setup.py’s abstract dependencies into concrete dependencies and driving a virtual environment with them.
Requirements
Code Block | ||
---|---|---|
| ||
# Not yet available on Ubuntu as a deb
> pip3 install --user pipenv |
Files
Abstract dependency rules are in ./Pipfile
Concrete dependency versions are locked in ./Pipfile.lock
Virtualenvs are created in ~/.local/share/virtualenvs.
Workflow
Code Block |
---|
> pipenv --three > pipenv install pydot (rule for a specific dependency) > pipenv install --dev -e . (rules for everything in extras_requires?) > pipenv install --dev -e .[docs] (rules for everything in extras_requires specified by keywords) > pipenv install -e . (rules for everything in install_requires) > pipenv install --dev (install every development dependency into the virtualenv) > pipenv install (install every install dependency into the virtualenv) > pipenv update (equilavent to pipenv lock && pipenv sync) |