From ebf2aa0f3380998de01715e823b5cb8bca56159a Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Wed, 21 Feb 2024 17:25:57 -0800 Subject: [PATCH 1/2] Update link that was failing on CI --- source/tutorials/installing-packages.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tutorials/installing-packages.rst b/source/tutorials/installing-packages.rst index 0e80642ae..e83ce1d65 100644 --- a/source/tutorials/installing-packages.rst +++ b/source/tutorials/installing-packages.rst @@ -457,7 +457,7 @@ directory to your :envvar:`PATH`: ``PATH`` changes to take effect. .. _user base: https://docs.python.org/3/library/site.html#site.USER_BASE -.. _modifying ~/.profile: https://stackoverflow.com/a/14638025 +.. _modifying ~/.profile: https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix/14638025#14638025 .. _Control Panel: https://docs.microsoft.com/en-us/windows/win32/shell/user-environment-variables?redirectedfrom=MSDN Requirements files From 166f57b102d957765a1c7908b1ed040cc7ee9018 Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Wed, 21 Feb 2024 17:48:28 -0800 Subject: [PATCH 2/2] Highlight dotfile to change and replace low-value link to Stack Overflow The link to stack overflow doesn't add much value. I'm going to remove the link. --- source/tutorials/installing-packages.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/tutorials/installing-packages.rst b/source/tutorials/installing-packages.rst index e83ce1d65..cee1ad689 100644 --- a/source/tutorials/installing-packages.rst +++ b/source/tutorials/installing-packages.rst @@ -445,7 +445,7 @@ directory to your :envvar:`PATH`: ``python -m site --user-base`` and adding ``bin`` to the end. For example, this will typically print ``~/.local`` (with ``~`` expanded to the absolute path to your home directory) so you'll need to add ``~/.local/bin`` to your - ``PATH``. You can set your ``PATH`` permanently by `modifying ~/.profile`_. + ``PATH``. You can set your ``PATH`` permanently by modifying ``~/.profile``. - On Windows you can find the user base binary directory by running ``py -m site --user-site`` and replacing ``site-packages`` with ``Scripts``. For @@ -457,7 +457,6 @@ directory to your :envvar:`PATH`: ``PATH`` changes to take effect. .. _user base: https://docs.python.org/3/library/site.html#site.USER_BASE -.. _modifying ~/.profile: https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix/14638025#14638025 .. _Control Panel: https://docs.microsoft.com/en-us/windows/win32/shell/user-environment-variables?redirectedfrom=MSDN Requirements files