[arvados] updated: 2.6.0-398-g48a0d575e
git repository hosting
git at public.arvados.org
Wed Jul 26 13:41:03 UTC 2023
Summary of changes:
sdk/python/README.rst | 28 ++++++++++++++++++++--------
services/fuse/README.rst | 28 ++++++++++++++++++++--------
2 files changed, 40 insertions(+), 16 deletions(-)
via 48a0d575e6de34bcda91c489e4aa98df291a8cca (commit)
via 0ea9427622c1f4179c7324cb57b0d6d2aa4970b6 (commit)
from 8a1aa45293e423d9b4fffc5115a14f2e69897d8e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 48a0d575e6de34bcda91c489e4aa98df291a8cca
Merge: 8a1aa4529 0ea942762
Author: Brett Smith <brett.smith at curii.com>
Date: Wed Jul 26 09:40:39 2023 -0400
Merge branch '20543-pip-install-virtualenv'
Closes #20543.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith at curii.com>
commit 0ea9427622c1f4179c7324cb57b0d6d2aa4970b6
Author: Brett Smith <brett.smith at curii.com>
Date: Fri Jul 7 15:44:03 2023 -0400
20543: Recommend users install Python packages in a virtualenv
`pip install --user` doesn't work on distributions that have adopted
PEP 668, including Debian 12+ and Ubuntu 23.04+.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith at curii.com>
diff --git a/sdk/python/README.rst b/sdk/python/README.rst
index 5e9bf64c4..e40866c62 100644
--- a/sdk/python/README.rst
+++ b/sdk/python/README.rst
@@ -22,17 +22,29 @@ Installation
Installing under your user account
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-This method lets you install the package without root access.
-However, other users on the same system won't be able to use it.
+This method lets you install the package without root access. However,
+other users on the same system will need to reconfigure their shell in order
+to be able to use it. Run the following to install the package in an
+environment at ``~/arvclients``::
-1. Run ``pip install --user arvados-python-client``.
+ python3 -m venv ~/arvclients
+ ~/arvclients/bin/pip install arvados-python-client
-2. In your shell configuration, make sure you add ``$HOME/.local/bin``
- to your PATH environment variable. For example, you could add the
- command ``PATH=$PATH:$HOME/.local/bin`` to your ``.bashrc`` file.
+Command line tools will be installed under ``~/arvclients/bin``. You can
+test one by running::
-3. Reload your shell configuration. For example, bash users could run
- ``source ~/.bashrc``.
+ ~/arvclients/bin/arv-get --version
+
+You can run these tools by specifying the full path every time, or you can
+add the directory to your shell's search path by running::
+
+ export PATH="$PATH:$HOME/arvclients/bin"
+
+You can make this search path change permanent by adding this command to
+your shell's configuration, for example ``~/.bashrc`` if you're using bash.
+You can test the change by running::
+
+ arv-get --version
Installing on Debian systems
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/services/fuse/README.rst b/services/fuse/README.rst
index e0d5046ae..12c6ae6ca 100644
--- a/services/fuse/README.rst
+++ b/services/fuse/README.rst
@@ -21,17 +21,29 @@ Installation
Installing under your user account
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-This method lets you install the package without root access.
-However, other users on the same system won't be able to use it.
+This method lets you install the package without root access. However,
+other users on the same system will need to reconfigure their shell in order
+to be able to use it. Run the following to install the package in an
+environment at ``~/arvclients``::
-1. Run ``pip install --user arvados_fuse``.
+ python3 -m venv ~/arvclients
+ ~/arvclients/bin/pip install arvados_fuse
-2. In your shell configuration, make sure you add ``$HOME/.local/bin``
- to your PATH environment variable. For example, you could add the
- command ``PATH=$PATH:$HOME/.local/bin`` to your ``.bashrc`` file.
+Command line tools will be installed under ``~/arvclients/bin``. You can
+test one by running::
-3. Reload your shell configuration. For example, bash users could run
- ``source ~/.bashrc``.
+ ~/arvclients/bin/arv-mount --version
+
+You can run these tools by specifying the full path every time, or you can
+add the directory to your shell's search path by running::
+
+ export PATH="$PATH:$HOME/arvclients/bin"
+
+You can make this search path change permanent by adding this command to
+your shell's configuration, for example ``~/.bashrc`` if you're using bash.
+You can test the change by running::
+
+ arv-mount --version
Installing on Debian systems
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list