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

Commit

Permalink
Included requests_toolbelt in dependencies
Browse files Browse the repository at this point in the history
I just tried to use the library in Gae and was missing the `requests_toolbelt`.
  • Loading branch information
topless authored Feb 3, 2018
1 parent c736c47 commit db94041
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GAE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Google App Engine uses virtual machines to do work and serve your application's
Prerequisites
*************

Follow the `third party vendor library install instructions <https://cloud.google.com/appengine/docs/python/tools/using-libraries-python-27#vendoring>`_ to include the two dependency libraries listed in ``requirements.txt``: ``requests`` and ``requests_oauthlib``, as well as this ``python-twitter`` library. Typically you can just place the three module folders into the same place as your app.yaml file; it might look something like this:
Follow the `third party vendor library install instructions <https://cloud.google.com/appengine/docs/python/tools/using-libraries-python-27#vendoring>`_ to include the dependency libraries listed in ``requirements.txt``: ``requests``, ``requests_oauthlib`` and ``requests_toolbelt``, as well as ``python-twitter`` library. Typically you can just place the module folders into the same place as your app.yaml file; it might look something like this:

| myapp/
| ├── twitter/
Expand Down Expand Up @@ -52,4 +52,4 @@ If you plan to store tweets or other information returned by the API in Datastor

Sockets
^^^^^^^^^
When urllib3 is imported on App Engine it will throw a warning about sockets: ``AppEnginePlatformWarning: urllib3 is using URLFetch on Google App Engine sandbox...`` This is just a warning that you'd have to use the Sockets API if you intend to use the sockets feature of the library, which we don't use in python-twitter so it can be ignored.
When urllib3 is imported on App Engine it will throw a warning about sockets: ``AppEnginePlatformWarning: urllib3 is using URLFetch on Google App Engine sandbox...`` This is just a warning that you'd have to use the Sockets API if you intend to use the sockets feature of the library, which we don't use in python-twitter so it can be ignored.

0 comments on commit db94041

Please sign in to comment.