@@ -32,23 +32,23 @@ Basic Usage
3232.. code-block :: console
3333
3434 $ cd my_project_folder
35- $ virtualenv venv
35+ $ virtualenv my_project
3636
37- ``virtualenv venv `` will create a folder in the current directory which will
37+ ``virtualenv my_project `` will create a folder in the current directory which will
3838contain the Python executable files, and a copy of the ``pip `` library which you
3939can use to install other packages. The name of the virtual environment (in this
40- case, it was ``venv ``) can be anything; omitting the name will place the files
40+ case, it was ``my_project ``) can be anything; omitting the name will place the files
4141in the current directory instead.
4242
4343This creates a copy of Python in whichever directory you ran the command in,
44- placing it in a folder named :file: `venv `.
44+ placing it in a folder named :file: `my_project `.
4545
4646You can also use the Python interpreter of your choice (like
4747``python2.7 ``).
4848
4949.. code-block :: console
5050
51- $ virtualenv -p /usr/bin/python2.7 venv
51+ $ virtualenv -p /usr/bin/python2.7 my_project
5252
5353 or change the interpreter globally with an env variable in ``~/.bashrc ``:
5454
@@ -60,12 +60,12 @@ or change the interpreter globally with an env variable in ``~/.bashrc``:
6060
6161.. code-block :: console
6262
63- $ source venv /bin/activate
63+ $ source my_project /bin/activate
6464
6565 The name of the current virtual environment will now appear on the left of
66- the prompt (e.g. ``(venv )Your-Computer:your_project UserName$) `` to let you know
66+ the prompt (e.g. ``(my_project )Your-Computer:your_project UserName$) `` to let you know
6767that it's active. From now on, any package that you install using pip will be
68- placed in the ``venv `` folder, isolated from the global Python installation.
68+ placed in the ``my_project `` folder, isolated from the global Python installation.
6969
7070Install packages as usual, for example:
7171
@@ -84,7 +84,7 @@ This puts you back to the system's default Python interpreter with all its
8484installed libraries.
8585
8686To delete a virtual environment, just delete its folder. (In this case,
87- it would be ``rm -rf venv ``.)
87+ it would be ``rm -rf my_project ``.)
8888
8989After a while, though, you might end up with a lot of virtual environments
9090littered across your system, and its possible you'll forget their names or
@@ -158,15 +158,15 @@ Basic Usage
158158
159159.. code-block :: console
160160
161- $ mkvirtualenv venv
161+ $ mkvirtualenv my_project
162162
163- This creates the :file: `venv ` folder inside :file: `~/Envs `.
163+ This creates the :file: `my_project ` folder inside :file: `~/Envs `.
164164
1651652. Work on a virtual environment:
166166
167167.. code-block :: console
168168
169- $ workon venv
169+ $ workon my_project
170170
171171 Alternatively, you can make a project, which creates the virtual environment,
172172and also a project directory inside ``$PROJECT_HOME ``, which is ``cd `` -ed into
0 commit comments