Re:My Python Development Environment, 2018 Edition
by wirrbel on Thursday February 22, 2018 @05:05PM
(#16441907)
let me add, that if you do a virtualenv-based workflow, you will end up having some kind of a requirements list (requirements.txt), then you will realize that you want to also version the configuration of that virtualenv with all dependencies resolved (think `pip freeze`). You'll start to sort development dependencies like pytest from production requirements like `six`, by this time you will have written a few scripts to deal with this stuff.
This is where pipenv delivers. It is a destillation of best practices for virtualenv-configuration.
In your overview, I'd just add an example for a dev installation
pipenv install --dev pytest
If you use pipenv for a project, you no longer need to care about pip, requirements.txt or virtualenv.
Pipenv/Pipfile is the new standard recommended by Python.org/PyPA:
https://packaging.python.org/tutorials/managing-dependencies...
https://github.com/pypa/pipenv
https://github.com/pypa/pipfile