Skip to content

Commit

Permalink
Rename the library (oauth2 is already taken by Oauth2 python library.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignas committed Apr 26, 2012
1 parent 93119ca commit 4013e0a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Licence: BSD

Initialize the connection handler. It accepts this parameters. `authorization_url` and `token_url` are optional and have defaults.

from oauth2 import OAuth2
from requests_oauth2 import OAuth2
OAuth2(client_id, client_secret, site, redirect_uri, [authorization_url='oauth/authorize'], [token_url='oauth/token'])

An example for facebook would be:
Expand Down
1 change: 0 additions & 1 deletion oauth2/__init__.py

This file was deleted.

1 change: 1 addition & 0 deletions requests_oauth2/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from requests_oauth2.oauth2 import OAuth2
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from setuptools import setup, find_packages

version = '0.1.1'
version = '0.2.1'

setup(
name='requests-oauth2',
Expand Down

0 comments on commit 4013e0a

Please sign in to comment.