Skip to content

Commit 5090e04

Browse files
miss-islingtonterryjreedyzooba
authored
[3.15] Two small changes in using/windows (GH-159438) (#159501)
Two small changes in using/windows (GH-159438) Thes are based on Steve Dower's answer (to my questions) at https://discuss.python.org/t/python-3-16-0-alpha-1-is-now-available/109466/11. Update sentence about updates to note that site-packages and Scripts directories are left alone. Add a link to the administer configuration section. --------- (cherry picked from commit d52dba3) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Steve Dower <steve.dower@microsoft.com>
1 parent 5550519 commit 5090e04

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎Doc/using/windows.rst‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ Passing ``--update`` will replace existing installs if the new version is newer.
281281
Otherwise, they will be left. If no tags are provided with ``--update``, all
282282
installs managed by the Python install manager will be updated if newer versions
283283
are available. Updates will remove any modifications made to the install,
284-
including globally installed packages, but virtual environments will continue to
285-
work.
284+
including globally installed packages, but will leave ``site-packages`` and
285+
``Scripts`` directories as is. Virtual environments are also unaffected.
286286

287287
Passing ``--dry-run`` will generate output and logs, but will not modify any
288288
installs.
@@ -392,8 +392,9 @@ override all other settings, but not every option is available.
392392
This section will describe the defaults, but be aware that modified or
393393
overridden installs may resolve settings differently.
394394

395-
A global configuration file may be configured by an administrator, and would be
396-
read first. The user configuration file is stored at
395+
A global configuration file may be configured by an
396+
:ref:`administrator <pymanager-admin-config>`
397+
and would be read first. The user configuration file is stored at
397398
:file:`%AppData%\\Python\\pymanager.json`
398399
(note that this location is under ``Roaming``, not ``Local``) and is read next,
399400
overwriting any settings from earlier files. An additional configuration file

0 commit comments

Comments
 (0)