Starting a new Python project with Pipenv

16 November 2017

Pipenv is a new tool for managing dependencies and virtualenv environments for Python projects.

To start a new project:

  1. pipenv install - instantiates the virtualenv
  2. pipenv shell - activates the virtualenv
  3. pipenv install <dependency> - installs a dependency
  4. exit - exits out the shell as normally to exit the virtualenv

When users pull your project they should run

  1. pipenv shell
  2. pipenv install

comments powered by Disqus