X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/770927dbfa1fb16b3075d1581dc66f4e7a623631..77231f9a202692ae827a5e262ddc0b99ba5dd991:/doc/sdk/python/sdk-python.html.textile.liquid diff --git a/doc/sdk/python/sdk-python.html.textile.liquid b/doc/sdk/python/sdk-python.html.textile.liquid index 75769d7e2a..2b86261ccc 100644 --- a/doc/sdk/python/sdk-python.html.textile.liquid +++ b/doc/sdk/python/sdk-python.html.textile.liquid @@ -2,13 +2,15 @@ layout: default navsection: sdk navmenu: Python -title: "Python SDK" - +title: "Installation" ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. -The Python SDK provides a generic set of wrappers so you can make API calls easily. It performs some validation before connecting to the API server: for example, it refuses to do an API call if a required parameter is missing. +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} -The library also includes some conveniences for use in Crunch scripts; see "Crunch utility libraries":crunch-utility-libraries.html for details. +The Python SDK provides access from Python to the Arvados API and Keep. It also includes a number of command line tools for using and administering Arvados and Keep, and some conveniences for use in Crunch scripts; see "Crunch utility libraries":crunch-utility-libraries.html for details. h3. Installation @@ -24,22 +26,23 @@ h4. Option 1: Install from distribution packages First, "add the appropriate package repository for your distribution":{{ site.baseurl }}/install/install-manual-prerequisites.html#repos. -On Debian-based systems: +{% assign rh_version = "6" %} +{% include 'note_python_sc' %} + +On Red Hat-based systems: -
~$ sudo apt-get install python-arvados-python-client
+
~$ sudo yum install python-arvados-python-client
 
-On Red Hat-based systems: +On Debian-based systems: -
~$ sudo yum install python27-python-arvados-python-client
+
~$ sudo apt-get install python-arvados-python-client
 
-{% include 'note_python27_sc' %} - h4. Option 2: Install with pip Run @pip-2.7 install arvados-python-client@ in an appropriate installation environment, such as a virtualenv. @@ -53,7 +56,7 @@ Install the @python-setuptools@ package from your distribution. Then run the fo
~$ git clone https://github.com/curoverse/arvados.git
 ~$ cd arvados/sdk/python
-~$ python2.7 setup.py install
+~/arvados/sdk/python$ python2.7 setup.py install