9369: Update CLI install documentation to include arvados-cwl-runner (& arvados-pytho...
[arvados.git] / doc / sdk / python / sdk-python.html.textile.liquid
index b86a7fb40a1f1fc532e40cdac6a652907392ae8c..8380618e2345099a23ca3bac47dc8b2ce8c5e17e 100644 (file)
@@ -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,19 +22,27 @@ h4. Option 1: Install from distribution packages
 
 First, "add the appropriate package repository for your distribution":{{ site.baseurl }}/install/install-manual-prerequisites.html#repos.
 
-{% include 'note_python27_sc' %}
+{% assign rh_version = "6" %}
+{% include 'note_python_sc' %}
 
-On Debian-based systems:
+On CentOS 6 and RHEL 6:
 
 <notextile>
-<pre><code>~$ <span class="userinput">sudo apt-get install python-arvados-python-client</code>
+<pre><code>~$ <span class="userinput">sudo yum install python27-python-arvados-python-client</code>
 </code></pre>
 </notextile>
 
-On Red Hat-based systems:
+On other Red Hat-based systems:
 
 <notextile>
-<pre><code>~$ <span class="userinput">sudo yum install python27-python-arvados-python-client</code>
+<pre><code>~$ <span class="userinput">sudo yum install python-arvados-python-client</code>
+</code></pre>
+</notextile>
+
+On Debian-based systems:
+
+<notextile>
+<pre><code>~$ <span class="userinput">sudo apt-get install python-arvados-python-client</code>
 </code></pre>
 </notextile>
 
@@ -52,7 +58,9 @@ Install the @python-setuptools@ package from your distribution.  Then run the fo
 
 <notextile>
 <pre><code>~$ <span class="userinput">git clone https://github.com/curoverse/arvados.git</span>
-~$ <span class="userinput">cd arvados/sdk/python</span>
+~$ <span class="userinput">cd ~/arvados/sdk/python</span>
+~$ <span class="userinput">python2.7 setup.py install</span>
+~$ <span class="userinput">cd ~/arvados/sdk/cwl</span>
 ~$ <span class="userinput">python2.7 setup.py install</span>
 </code></pre>
 </notextile>