Skip to content

Commit 6a8feb0

Browse files
authored
Update virtualenvs.rst
1 parent 0c7fed1 commit 6a8feb0

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

docs/dev/virtualenvs.rst

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _virtualenvironments-ref:
22

3-
Virtual Environments
4-
====================
3+
Pipenv & Virtual Environments
4+
=============================
55

66
A Virtual Environment is a tool to keep the dependencies required by different
77
projects in separate places, by creating virtual Python environments for them.
@@ -11,13 +11,31 @@ dilemma, and keeps your global site-packages directory clean and manageable.
1111
For example, you can work on a project which requires Django 1.10 while also
1212
maintaining a project which requires Django 1.8.
1313

14+
15+
Pipenv
16+
------
17+
18+
**Pipenv** is a project that aims to bring the best of all packaging worlds to the Python world. It harnesses `Pipfile <https://github.com/pypa/pipfile>`_, `pip <https://github.com/pypa/pip>`_, and `virtualenv <https://github.com/pypa/virtualenv>`_ into one single toolchain. It features very pretty terminal colors.
19+
20+
It automatically creates and manages a virtualenv for your projects, as well as adds/removes packages from your ``Pipfile`` as you install/uninstall packages. The ``lock`` command generates a lockfile (``Pipfile.lock``).
21+
22+
23+
Install Pipenv with pip::
24+
25+
$ pip install pipenv
26+
✨🍰✨
27+
28+
29+
1430
virtualenv
1531
----------
1632

1733
`virtualenv <http://pypi.python.org/pypi/virtualenv>`_ is a tool to create
1834
isolated Python environments. virtualenv creates a folder which contains all the
1935
necessary executables to use the packages that a Python project would need.
2036

37+
It can be used standalone, in place of Pipenv.
38+
2139
Install virtualenv via pip:
2240

2341
.. code-block:: console

0 commit comments

Comments
 (0)