Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Add protobuf dep and install instructions [(#2250)](GoogleCloudPlatfo…
Browse files Browse the repository at this point in the history
  • Loading branch information
averikitsch authored Jul 1, 2019
1 parent fe33547 commit ca75b8f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions samples/snippets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ Please refer to [Setting Up a Python Development Environment](https://cloud.goog
To set up authentication, please refer to our
[authentication getting started guide](https://cloud.google.com/docs/authentication/getting-started).

## Install Dependencies

To install the dependencies for this sample, use the following command:

```
pip install -r requirements.txt
```

This sample uses the common protos in the [googleapis](https://github.com/googleapis/googleapis)
repository. For more info, see
[Protocol Buffer Basics](https://developers.google.com/protocol-buffers/docs/pythontutorial).

## Creating a queue

To create a queue (named `my-queue`) using the Cloud SDK, use the following
Expand Down
3 changes: 2 additions & 1 deletion samples/snippets/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Flask==1.0.2
gunicorn==19.9.0
google-cloud-tasks==0.7.0
google-cloud-tasks==1.1.0
googleapis-common-protos==1.6.0

0 comments on commit ca75b8f

Please sign in to comment.