X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5d17dfc6124a19ff7c9ebce607699d3e3f415bad..3f69ccbaaa9b9c16bd0ea2c063aa3a7aa91e6b84:/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..72a6933ad3 100644 --- a/doc/sdk/python/sdk-python.html.textile.liquid +++ b/doc/sdk/python/sdk-python.html.textile.liquid @@ -6,9 +6,7 @@ title: "Python SDK" ... -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,25 +22,33 @@ 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 CentOS 6 and RHEL 6: -
~$ sudo apt-get install python-arvados-python-client
+
~$ sudo yum install python27-python-arvados-python-client python27-python-arvados-cwl-runner
 
-On Red Hat-based systems: +On other Red Hat-based systems: -
~$ sudo yum install python27-python-arvados-python-client
+
~$ sudo yum install python-arvados-python-client python-arvados-cwl-runner
 
-{% include 'note_python27_sc' %} +On Debian-based systems: + + +
~$ sudo apt-get install python-arvados-python-client python-arvados-cwl-runner
+
+
h4. Option 2: Install with pip -Run @pip-2.7 install arvados-python-client@ in an appropriate installation environment, such as a virtualenv. +Run @pip-2.7 install arvados-python-client arvados-cwl-runner@ in an appropriate installation environment, such as a virtualenv. If your version of @pip@ is 1.4 or newer, the @pip install@ command might give an error: "Could not find a version that satisfies the requirement arvados-python-client". If this happens, try @pip-2.7 install --pre arvados-python-client@. @@ -52,7 +58,9 @@ Install the @python-setuptools@ package from your distribution. Then run the fo
~$ git clone https://github.com/curoverse/arvados.git
-~$ cd arvados/sdk/python
+~$ cd ~/arvados/sdk/python
+~$ python2.7 setup.py install
+~$ cd ~/arvados/sdk/cwl
 ~$ python2.7 setup.py install