Skip to content

Commit

Permalink
Added Link to Python Setup Guide (#1158)
Browse files Browse the repository at this point in the history
* Update Readme.rst to add Python setup guide

As requested in b/64770713.

This sample is linked in documentation https://cloud.google.com/bigtable/docs/scaling, and it would make more sense to update the guide here than in the documentation.

* Update README.rst

* Update README.rst

* Update README.rst

* Update README.rst

* Update README.rst

* Update install_deps.tmpl.rst

* Updated readmegen scripts and re-generated related README files

* Fixed the lint error
  • Loading branch information
michaelawyu authored and Jon Wayne Parrott committed Oct 12, 2017
1 parent 4ff0515 commit 1a602ce
Show file tree
Hide file tree
Showing 43 changed files with 164 additions and 44 deletions.
5 changes: 4 additions & 1 deletion bigquery/api/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion bigquery/rest/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion bigtable/hello/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion bigtable/hello_happybase/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion bigtable/metricscaler/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion container_engine/api-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion datastore/cloud-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion dns/api/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion error_reporting/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion iot/api-client/manager/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion iot/api-client/scripts/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion kms/api-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion language/api/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion language/cloud-client/v1/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion language/cloud-client/v1beta2/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion language/tutorial/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion logging/cloud-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion monitoring/api/v2/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion monitoring/api/v3/api-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion monitoring/api/v3/cloud-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion pubsub/cloud-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion scripts/readme-gen/templates/install_deps.tmpl.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion spanner/cloud-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion speech/cloud-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion storage/api/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
7 changes: 5 additions & 2 deletions storage/cloud-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down Expand Up @@ -254,7 +257,7 @@ To run this sample:
$ gcloud beta pubsub subscriptions create testsubscription --topic=testtopic
6. Run this program:
$ python notification_polling my-project-id testsubscription
$ python notification_polling.py my-project-id testsubscription
7. While the program is running, upload and delete some files in the testbucket
bucket (you could use the console or gsutil) and watch as changes scroll by
Expand Down
5 changes: 4 additions & 1 deletion storage/transfer_service/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion translate/cloud-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
5 changes: 4 additions & 1 deletion video/cloud-client/analyze/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
2 changes: 1 addition & 1 deletion video/cloud-client/analyze/analyze_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
# limitations under the License.

import os
import analyze
import pytest
import analyze


BUCKET = os.environ['CLOUD_STORAGE_BUCKET']
Expand Down
5 changes: 4 additions & 1 deletion video/cloud-client/faces/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ credentials for applications.
Install Dependencies
++++++++++++++++++++

#. Install `pip`_ and `virtualenv`_ if you do not already have them.
#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.

.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup

#. Create a virtualenv. Samples are compatible with Python 2.7 and 3.4+.

Expand Down
2 changes: 1 addition & 1 deletion video/cloud-client/faces/faces_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
# limitations under the License.

import os
import faces
import pytest
import faces


BUCKET = os.environ['CLOUD_STORAGE_BUCKET']
Expand Down
Loading

0 comments on commit 1a602ce

Please sign in to comment.