X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0e57453d2b637a3d105d4e3d67031f3915f9d302..1852b22218ae7b997cb1980d7b33fd1c8879163b:/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..c3a9b96706 100644 --- a/doc/sdk/python/sdk-python.html.textile.liquid +++ b/doc/sdk/python/sdk-python.html.textile.liquid @@ -2,13 +2,10 @@ layout: default navsection: sdk navmenu: Python -title: "Python SDK" - +title: "Installation" ... -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. - -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 +21,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 +51,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