4 ms·
> Speaking of which, what is the best way to start a python project in 2018 Pipenv[1] and flit[2]. Together, these do most of what npm/yarn provide for a Node.
by osteele 8y ago
> Speaking of which, what is the best way to start a python project in 2018
Pipenv[1] and flit[2]. Together, these do most of what npm/yarn provide for a Node.js project.
Pipenv for installing packages. It’s a virtual environment manager (like pyenv, virtualenv, venv) that’s aware of and stays in sync with the package requirements list, and supports repeatable builds. It claims to be “officially recommended”, and Travis and Heroku, for example, detect its configuration file.
Flit for publishing a package. It’s driven from a declarative project file.[3]
EDIT: Added details and a link to [3].
[1] http://docs.pipenv.org/ http://docs.pipenv.org/
[2] http://flit.readthedocs.io/en/latest/ http://flit.readthedocs.io/en/latest/
[3] http://flit.readthedocs.io/en/latest/flit_ini.html http://flit.readthedocs.io/en/latest/flit_ini.html