File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,25 @@ When used from within a virtual environment, common installation tools such as
30
30
`pip `_ will install Python packages into a virtual environment
31
31
without needing to be told to do so explicitly.
32
32
33
+ A virtual environment is (amongst other things):
34
+
35
+ * Used to contain a specific Python interpreter and software libraries and
36
+ binaries which are needed to support a project (library or application). These
37
+ are by default isolated from software in other virtual environments and Python
38
+ interpreters and libraries installed in the operating system.
39
+
40
+ * Contained in a directory, conventionally either named ``venv `` or ``.venv `` in
41
+ the project directory, or under a container directory for lots of virtual
42
+ environments, such as ``~/.virtualenvs ``.
43
+
44
+ * Not checked into source control systems such as Git.
45
+
46
+ * Considered as disposable -- it should be simple to delete and recreate it from
47
+ scratch. You don't place any project code in the environment
48
+
49
+ * Not considered as movable or copyable -- you just recreate the same
50
+ environment in the target location.
51
+
33
52
See :pep: `405 ` for more background on Python virtual environments.
34
53
35
54
.. seealso ::
You can’t perform that action at this time.
0 commit comments