@@ -398,7 +398,7 @@ customization.
398
398
- Description
399
399
400
400
* - ``default_tag ``
401
- - `` PYTHON_MANAGER_DEFAULT ``
401
+ - .. envvar:: PYTHON_MANAGER_DEFAULT
402
402
- The preferred default version to launch or install.
403
403
By default, this is interpreted as the most recent non-prerelease version
404
404
from the CPython team.
@@ -812,7 +812,7 @@ default).
812
812
``python.exe `` alias is set to "Python (default)"
813
813
814
814
* - ``python `` and ``py `` don't launch the runtime I expect
815
- - Check your `` PYTHON_MANAGER_DEFAULT ` ` environment variable
815
+ - Check your :envvar: ` PYTHON_MANAGER_DEFAULT ` environment variable
816
816
or ``default_tag `` configuration.
817
817
The ``py list `` command will show your default based on these settings.
818
818
@@ -1797,7 +1797,7 @@ program, which performs a :envvar:`PATH` search.
1797
1797
If an executable matching the first argument after the ``env `` command cannot
1798
1798
be found, but the argument starts with ``python ``, it will be handled as
1799
1799
described for the other virtual commands.
1800
- The environment variable :envvar: `PYLAUNCHER_NO_SEARCH_PATH ` may be set
1800
+ The environment variable :envvar: `! PYLAUNCHER_NO_SEARCH_PATH ` may be set
1801
1801
(to any value) to skip this search of :envvar: `PATH `.
1802
1802
1803
1803
Shebang lines that do not match any of these patterns are looked up in the
@@ -1864,7 +1864,7 @@ For example, a shebang line of ``#!python`` has no version qualifier, while
1864
1864
``#!python3 `` has a version qualifier which specifies only a major version.
1865
1865
1866
1866
If no version qualifiers are found in a command, the environment
1867
- variable :envvar: `PY_PYTHON ` can be set to specify the default version
1867
+ variable :envvar: `! PY_PYTHON ` can be set to specify the default version
1868
1868
qualifier. If it is not set, the default is "3". The variable can
1869
1869
specify any value that may be passed on the command line, such as "3",
1870
1870
"3.7", "3.7-32" or "3.7-64". (Note that the "-64" option is only
@@ -1937,7 +1937,7 @@ For example:
1937
1937
Diagnostics
1938
1938
-----------
1939
1939
1940
- If an environment variable :envvar: `PYLAUNCHER_DEBUG ` is set (to any value), the
1940
+ If an environment variable :envvar: `! PYLAUNCHER_DEBUG ` is set (to any value), the
1941
1941
launcher will print diagnostic information to stderr (i.e. to the console).
1942
1942
While this information manages to be simultaneously verbose *and * terse, it
1943
1943
should allow you to see what versions of Python were located, why a
@@ -1947,7 +1947,7 @@ target Python. It is primarily intended for testing and debugging.
1947
1947
Dry Run
1948
1948
-------
1949
1949
1950
- If an environment variable :envvar: `PYLAUNCHER_DRYRUN ` is set (to any value),
1950
+ If an environment variable :envvar: `! PYLAUNCHER_DRYRUN ` is set (to any value),
1951
1951
the launcher will output the command it would have run, but will not actually
1952
1952
launch Python. This may be useful for tools that want to use the launcher to
1953
1953
detect and then launch Python directly. Note that the command written to
@@ -1957,14 +1957,14 @@ the console.
1957
1957
Install on demand
1958
1958
-----------------
1959
1959
1960
- If an environment variable :envvar: `PYLAUNCHER_ALLOW_INSTALL ` is set (to any
1960
+ If an environment variable :envvar: `! PYLAUNCHER_ALLOW_INSTALL ` is set (to any
1961
1961
value), and the requested Python version is not installed but is available on
1962
1962
the Microsoft Store, the launcher will attempt to install it. This may require
1963
1963
user interaction to complete, and you may need to run the command again.
1964
1964
1965
- An additional :envvar: `PYLAUNCHER_ALWAYS_INSTALL ` variable causes the launcher
1965
+ An additional :envvar: `! PYLAUNCHER_ALWAYS_INSTALL ` variable causes the launcher
1966
1966
to always try to install Python, even if it is detected. This is mainly intended
1967
- for testing (and should be used with :envvar: `PYLAUNCHER_DRYRUN `).
1967
+ for testing (and should be used with :envvar: `! PYLAUNCHER_DRYRUN `).
1968
1968
1969
1969
Return codes
1970
1970
------------
0 commit comments