Skip to content

GoogleCloudPlatform/python-docs-samples

Repository files navigation

Google Cloud Platform Python Samples

This repository is holds the samples used in the python documentation on cloud.google.com.

For more detailed introduction to a product, check the README in the corresponding folder.

Contributing changes

How to run the test

To run the tests, please install App Engine Python SDK and tox and run tox with the environment variable PYTHONPATH to the App Engine Python SDK.

You can install App Engine Python SDK with Google Cloud SDK with the following command:

$ gcloud components update gae-python

Here is instructions to run the tests with virtualenv, $GCLOUD is your Google Cloud SDK installation path.

$ virtualenv -p python2.7 --no-site-packages /some/where
$ source /some/where/bin/activate
$ pip install tox
$ env PYTHONPATH=${GCLOUD}/platform/google_appengine tox

Licensing