Skip to content

Commit 0e4d67e

Browse files
Deploy preview for PR 1193 🛫
1 parent 96c768b commit 0e4d67e

File tree

581 files changed

+681
-606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

581 files changed

+681
-606
lines changed

pr-preview/pr-1193/_sources/using/windows.rst.txt

Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,12 @@ work.
287287
Passing ``--dry-run`` will generate output and logs, but will not modify any
288288
installs.
289289

290+
Passing ``--refresh`` will update all registrations for installed runtimes. This
291+
will recreate Start menu shortcuts, registry keys, and global aliases (such as
292+
``python3.14.exe`` or for any installed scripts). These are automatically
293+
refreshed on installation of any runtime, but may need to be manually refreshed
294+
after installing packages.
295+
290296
In addition to the above options, the ``--target`` option will extract the
291297
runtime to the specified directory instead of doing a normal install.
292298
This is useful for embedding runtimes into larger applications.
@@ -469,6 +475,14 @@ customization.
469475
- ``PYTHON_MANAGER_SOURCE_URL``
470476
- Override the index feed to obtain new installs from.
471477

478+
* - ``install.enable_entrypoints``
479+
- (none)
480+
- True to generate global commands for installed packages (such as
481+
``pip.exe``). These are defined by the packages themselves.
482+
If set to false, only the Python interpreter has global commands created.
483+
By default, true. You should run ``py install --refresh`` after changing
484+
this setting.
485+
472486
* - ``list.format``
473487
- ``PYTHON_MANAGER_LIST_FORMAT``
474488
- Specify the default format used by the ``py list`` command.
@@ -482,8 +496,8 @@ customization.
482496

483497
* - ``global_dir``
484498
- (none)
485-
- Specify the directory where global commands (such as ``python3.14.exe``)
486-
are stored.
499+
- Specify the directory where global commands (such as ``python3.14.exe``
500+
and ``pip.exe``) are stored.
487501
This directory should be added to your :envvar:`PATH` to make the
488502
commands available from your terminal.
489503

@@ -493,6 +507,7 @@ customization.
493507
This directory is a temporary cache, and can be cleaned up from time to
494508
time.
495509

510+
496511
Dotted names should be nested inside JSON objects, for example, ``list.format``
497512
would be specified as ``{"list": {"format": "table"}}``.
498513

@@ -739,6 +754,14 @@ directory containing the configuration file that specified them.
739754
(e.g. ``"pep514,start"``).
740755
Disabled shortcuts are not reactivated by ``enable_shortcut_kinds``.
741756

757+
* - ``install.hard_link_entrypoints``
758+
- True to use hard links for global shortcuts to save disk space. If false,
759+
each shortcut executable is copied instead. After changing this setting,
760+
you must run ``py install --refresh --force`` to update existing
761+
commands.
762+
By default, true. Disabling this may be necessary for troubleshooting or
763+
systems that have issues with file links.
764+
742765
* - ``pep514_root``
743766
- Registry location to read and write PEP 514 entries into.
744767
By default, :file:`HKEY_CURRENT_USER\\Software\\Python`.
@@ -878,12 +901,22 @@ default).
878901

879902
* -
880903
- The package may be available but missing the generated executable.
881-
We recommend using the ``python -m pip`` command instead,
882-
or alternatively the ``python -m pip install --force pip`` command
883-
will recreate the executables and show you the path to
884-
add to :envvar:`PATH`.
885-
These scripts are separated for each runtime, and so you may need to
886-
add multiple paths.
904+
We recommend using the ``python -m pip`` command instead.
905+
Running ``py install --refresh`` and ensuring that the global shortcuts
906+
directory is on :envvar:`PATH` (it will be shown in the command output if
907+
it is not) should make commands such as ``pip`` (and other installed
908+
packages) available.
909+
910+
* - I installed a package with ``pip`` but its command is not found.
911+
- Have you activated a virtual environment?
912+
Run the ``.venv\Scripts\activate`` script in your terminal to activate.
913+
914+
* -
915+
- New packages do not automatically have global shortcuts created by the
916+
Python install manager. Similarly, uninstalled packages do not have their
917+
shortcuts removed.
918+
Run ``py install --refresh`` to update the global shortcuts for newly
919+
installed packages.
887920

888921
* - Typing ``script-name.py`` in the terminal opens in a new window.
889922
- This is a known limitation of the operating system. Either specify ``py``

pr-preview/pr-1193/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ <h3>導航</h3>
356356
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
357357
<br>
358358
<br>
359-
最後更新於 2月 24, 2026 (00:26 UTC)。
359+
最後更新於 2月 25, 2026 (00:27 UTC)。
360360

361361
<a href="/bugs.html">發現 bug</a>
362362

pr-preview/pr-1193/bugs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ <h2>說明文件的錯誤<a class="headerlink" href="#documentation-bugs" title=
252252
</section>
253253
<section id="getting-started-contributing-to-python-yourself">
254254
<span id="contributing-to-python"></span><h2>開始讓自己貢獻 Python<a class="headerlink" href="#getting-started-contributing-to-python-yourself" title="連結到這個標頭"></a></h2>
255-
<p>除了只是回報你所發現的錯誤之外,同樣也歡迎你提交修正它們的修補程式 (patch)。你可以在 <a class="reference external" href="https://devguide.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果你有任何問題,<a class="reference external" href="https://mail.python.org/mailman3/lists/core-mentorship.python.org/">核心導師郵寄清單</a>是一個友善的地方,你可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
255+
<p>除了只是回報你所發現的錯誤之外,同樣也歡迎你提交修正它們的修補程式 (patch)。你可以在 <a class="reference external" href="https://mail.python.org/mailman3/lists/core-mentorship.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果你有任何問題,<a class="reference external" href="https://devguide.python.org/">核心導師郵寄清單</a>是一個友善的地方,你可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
256256
</section>
257257
</section>
258258

@@ -395,7 +395,7 @@ <h3>導航</h3>
395395
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
396396
<br>
397397
<br>
398-
最後更新於 2月 24, 2026 (00:26 UTC)。
398+
最後更新於 2月 25, 2026 (00:27 UTC)。
399399

400400
<a href="/bugs.html">發現 bug</a>
401401

pr-preview/pr-1193/c-api/abstract.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ <h3>導航</h3>
365365
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
366366
<br>
367367
<br>
368-
最後更新於 2月 24, 2026 (00:26 UTC)。
368+
最後更新於 2月 25, 2026 (00:27 UTC)。
369369

370370
<a href="/bugs.html">發現 bug</a>
371371

pr-preview/pr-1193/c-api/allocation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ <h3>導航</h3>
574574
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
575575
<br>
576576
<br>
577-
最後更新於 2月 24, 2026 (00:26 UTC)。
577+
最後更新於 2月 25, 2026 (00:27 UTC)。
578578

579579
<a href="/bugs.html">發現 bug</a>
580580

pr-preview/pr-1193/c-api/apiabiversion.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ <h3>導航</h3>
514514
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
515515
<br>
516516
<br>
517-
最後更新於 2月 24, 2026 (00:26 UTC)。
517+
最後更新於 2月 25, 2026 (00:27 UTC)。
518518

519519
<a href="/bugs.html">發現 bug</a>
520520

pr-preview/pr-1193/c-api/arg.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ <h3>導航</h3>
996996
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
997997
<br>
998998
<br>
999-
最後更新於 2月 24, 2026 (00:26 UTC)。
999+
最後更新於 2月 25, 2026 (00:27 UTC)。
10001000

10011001
<a href="/bugs.html">發現 bug</a>
10021002

pr-preview/pr-1193/c-api/bool.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ <h3>導航</h3>
376376
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
377377
<br>
378378
<br>
379-
最後更新於 2月 24, 2026 (00:26 UTC)。
379+
最後更新於 2月 25, 2026 (00:27 UTC)。
380380

381381
<a href="/bugs.html">發現 bug</a>
382382

pr-preview/pr-1193/c-api/buffer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ <h3>導航</h3>
10641064
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
10651065
<br>
10661066
<br>
1067-
最後更新於 2月 24, 2026 (00:26 UTC)。
1067+
最後更新於 2月 25, 2026 (00:27 UTC)。
10681068

10691069
<a href="/bugs.html">發現 bug</a>
10701070

pr-preview/pr-1193/c-api/bytearray.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ <h3>導航</h3>
439439
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
440440
<br>
441441
<br>
442-
最後更新於 2月 24, 2026 (00:26 UTC)。
442+
最後更新於 2月 25, 2026 (00:27 UTC)。
443443

444444
<a href="/bugs.html">發現 bug</a>
445445

0 commit comments

Comments
 (0)