GrexIt/flask-login-oauth2 — pull request #2 by kracekumar (2012-11-20 17:08:45+00:00)
Title: Modified how `redirect_uri`, `client_id`, `client_secret` etc are accessed

Changes
----
I have made a lot of cosmetic changes.
1. Make 2 spaces to 4 spaces in `oauth.py`. In python it is standard practice to use `4 spaces`.
2. Added `GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, REDIRECT_URI, GOOGLE_ACCOUNTS_BASE_URL, SECRET_KEY`.
3. Now user needs to pass `redirect_uri, google_accounts_base_url` if a user imports `flask-login-oauth2`, no longer library has access to `app config` so user should manually pass the required uri's.
4. Modified changes with respect to [PEP8](http://www.python.org/dev/peps/pep-0008/).
5. Added `requirements.txt` - all the external dependencies required goes into this file, so user can install required dependencies by running `pip install -r requirements.txt`.

I haven't tested command line options please check that.