@@ -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
@@ -1802,7 +1802,7 @@ program, which performs a :envvar:`PATH` search.
1802
1802
If an executable matching the first argument after the ``env `` command cannot
1803
1803
be found, but the argument starts with ``python ``, it will be handled as
1804
1804
described for the other virtual commands.
1805
- The environment variable :envvar: `PYLAUNCHER_NO_SEARCH_PATH ` may be set
1805
+ The environment variable :envvar: `! PYLAUNCHER_NO_SEARCH_PATH ` may be set
1806
1806
(to any value) to skip this search of :envvar: `PATH `.
1807
1807
1808
1808
Shebang lines that do not match any of these patterns are looked up in the
@@ -1869,7 +1869,7 @@ For example, a shebang line of ``#!python`` has no version qualifier, while
1869
1869
``#!python3 `` has a version qualifier which specifies only a major version.
1870
1870
1871
1871
If no version qualifiers are found in a command, the environment
1872
- variable :envvar: `PY_PYTHON ` can be set to specify the default version
1872
+ variable :envvar: `! PY_PYTHON ` can be set to specify the default version
1873
1873
qualifier. If it is not set, the default is "3". The variable can
1874
1874
specify any value that may be passed on the command line, such as "3",
1875
1875
"3.7", "3.7-32" or "3.7-64". (Note that the "-64" option is only
@@ -1942,7 +1942,7 @@ For example:
1942
1942
Diagnostics
1943
1943
-----------
1944
1944
1945
- If an environment variable :envvar: `PYLAUNCHER_DEBUG ` is set (to any value), the
1945
+ If an environment variable :envvar: `! PYLAUNCHER_DEBUG ` is set (to any value), the
1946
1946
launcher will print diagnostic information to stderr (i.e. to the console).
1947
1947
While this information manages to be simultaneously verbose *and * terse, it
1948
1948
should allow you to see what versions of Python were located, why a
@@ -1952,7 +1952,7 @@ target Python. It is primarily intended for testing and debugging.
1952
1952
Dry Run
1953
1953
-------
1954
1954
1955
- If an environment variable :envvar: `PYLAUNCHER_DRYRUN ` is set (to any value),
1955
+ If an environment variable :envvar: `! PYLAUNCHER_DRYRUN ` is set (to any value),
1956
1956
the launcher will output the command it would have run, but will not actually
1957
1957
launch Python. This may be useful for tools that want to use the launcher to
1958
1958
detect and then launch Python directly. Note that the command written to
@@ -1962,14 +1962,14 @@ the console.
1962
1962
Install on demand
1963
1963
-----------------
1964
1964
1965
- If an environment variable :envvar: `PYLAUNCHER_ALLOW_INSTALL ` is set (to any
1965
+ If an environment variable :envvar: `! PYLAUNCHER_ALLOW_INSTALL ` is set (to any
1966
1966
value), and the requested Python version is not installed but is available on
1967
1967
the Microsoft Store, the launcher will attempt to install it. This may require
1968
1968
user interaction to complete, and you may need to run the command again.
1969
1969
1970
- An additional :envvar: `PYLAUNCHER_ALWAYS_INSTALL ` variable causes the launcher
1970
+ An additional :envvar: `! PYLAUNCHER_ALWAYS_INSTALL ` variable causes the launcher
1971
1971
to always try to install Python, even if it is detected. This is mainly intended
1972
- for testing (and should be used with :envvar: `PYLAUNCHER_DRYRUN `).
1972
+ for testing (and should be used with :envvar: `! PYLAUNCHER_DRYRUN `).
1973
1973
1974
1974
Return codes
1975
1975
------------
0 commit comments