mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
Merge pull request #216 from artiegold/master
Close #193. Notes on virtualenv.
This commit is contained in:
@@ -234,6 +234,7 @@ Other Notes
|
||||
Running ``virtualenv`` with the option ``--no-site-packages`` will not
|
||||
include the packages that are installed globally. This can be useful
|
||||
for keeping the package list clean in case it needs to be accessed later.
|
||||
[This is the default behavior for ``virtualenv`` 1.7 and later.]
|
||||
|
||||
In order to keep your environment consistent, it's a good idea to "freeze"
|
||||
the current state of the environment packages. To do this, run
|
||||
@@ -277,6 +278,7 @@ Put this into your `~/.bash_profile` (Linux/Mac) file:
|
||||
|
||||
This will prevent your virtualenvs from relying on your (global) site packages
|
||||
directory, so that they are completely separate..
|
||||
[note: This is the default behavior for ``virtualenv`` 1.7 and later]
|
||||
|
||||
Other Tools
|
||||
:::::::::::
|
||||
|
||||
Reference in New Issue
Block a user