@@ -35,37 +35,48 @@ your :ref:`Python installation <using-on-windows>`::
35
35
36
36
The command, if run with ``-h``, will show the available options::
37
37
38
- usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
39
- [--upgrade] [--without-pip] [--prompt PROMPT] [--upgrade-deps]
40
- ENV_DIR [ENV_DIR ...]
41
-
42
- Creates virtual Python environments in one or more target directories.
43
-
44
- positional arguments:
45
- ENV_DIR A directory to create the environment in.
46
-
47
- optional arguments:
48
- -h, --help show this help message and exit
49
- --system-site-packages
50
- Give the virtual environment access to the system
51
- site-packages dir.
52
- --symlinks Try to use symlinks rather than copies, when symlinks
53
- are not the default for the platform.
54
- --copies Try to use copies rather than symlinks, even when
55
- symlinks are the default for the platform.
56
- --clear Delete the contents of the environment directory if it
57
- already exists, before environment creation.
58
- --upgrade Upgrade the environment directory to use this version
59
- of Python, assuming Python has been upgraded in-place.
60
- --without-pip Skips installing or upgrading pip in the virtual
61
- environment (pip is bootstrapped by default)
62
- --prompt PROMPT Provides an alternative prompt prefix for this
63
- environment.
64
- --upgrade-deps Upgrade core dependencies (pip) to the
65
- latest version in PyPI
66
-
67
- Once an environment has been created, you may wish to activate it, e.g. by
68
- sourcing an activate script in its bin directory.
38
+ usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
39
+ [--upgrade] [--without-pip] [--prompt PROMPT] [--upgrade-deps]
40
+ [--without-scm-ignore-file]
41
+ ENV_DIR [ENV_DIR ...]
42
+
43
+ Creates virtual Python environments in one or more target directories.
44
+
45
+ positional arguments:
46
+ ENV_DIR A directory to create the environment in.
47
+
48
+ options:
49
+ -h, --help show this help message and exit
50
+ --system-site-packages
51
+ Give the virtual environment access to the system
52
+ site-packages dir.
53
+ --symlinks Try to use symlinks rather than copies, when
54
+ symlinks are not the default for the platform.
55
+ --copies Try to use copies rather than symlinks, even when
56
+ symlinks are the default for the platform.
57
+ --clear Delete the contents of the environment directory if
58
+ it already exists, before environment creation.
59
+ --upgrade Upgrade the environment directory to use this
60
+ version of Python, assuming Python has been upgraded
61
+ in-place.
62
+ --without-pip Skips installing or upgrading pip in the virtual
63
+ environment (pip is bootstrapped by default)
64
+ --prompt PROMPT Provides an alternative prompt prefix for this
65
+ environment.
66
+ --upgrade-deps Upgrade core dependencies (pip) to the latest
67
+ version in PyPI
68
+ --without-scm-ignore-file
69
+ Skips adding the default SCM ignore file to the
70
+ environment directory (the default is a .gitignore
71
+ file).
72
+
73
+ Once an environment has been created, you may wish to activate it, e.g. by
74
+ sourcing an activate script in its bin directory.
75
+
76
+ .. versionchanged:: 3.13
77
+
78
+ ``--without-scm-ignore-file`` was added along with creating an ignore file
79
+ for ``git`` by default.
69
80
70
81
.. versionchanged:: 3.12
71
82
0 commit comments