X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/18258f6a3762ba7d83b05260b3c22f71423c0373..bf1efb4b1752f0c04c3ab477e0733ffd04005c3c:/doc/sdk/python/sdk-python.html.textile.liquid?ds=sidebyside diff --git a/doc/sdk/python/sdk-python.html.textile.liquid b/doc/sdk/python/sdk-python.html.textile.liquid index 22a21670bf..da363465fd 100644 --- a/doc/sdk/python/sdk-python.html.textile.liquid +++ b/doc/sdk/python/sdk-python.html.textile.liquid @@ -16,16 +16,29 @@ h3. Installation If you are logged in to an Arvados VM, the Python SDK should be installed. -To use the Python SDK elsewhere, build and install the package using the arvados source tree. +To use the Python SDK elsewhere, you can either install the Python SDK via PyPI or build and install the package using the arvados source tree. + +h4. Option 1: install with PyPI + + +
+$ pip install arvados-python-client
+
+
+ +h4. Option 2: build and install from source
 $ git clone https://github.com/curoverse/arvados.git
 $ cd arvados/sdk/python
+$ ./build.sh
 $ sudo python setup.py install
 
+h4. Test installation + If the SDK is installed and your @ARVADOS_API_HOST@ and @ARVADOS_API_TOKEN@ environment variables are set up correctly (see "api-tokens":{{site.basedoc}}/user/reference/api-tokens.html for details), @import arvados@ should produce no errors: