Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rename the library (oauth2 is already taken by Oauth2 python library.

  • Loading branch information...
commit 4013e0ac16726667023c9bcb55b26dc14a2f5f29 1 parent 93119ca
@Ignas Ignas authored
View
2  README.md
@@ -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:
View
1  oauth2/__init__.py
@@ -1 +0,0 @@
-from oauth2 import OAuth2
View
1  requests_oauth2/__init__.py
@@ -0,0 +1 @@
+from requests_oauth2.oauth2 import OAuth2
View
0  oauth2/oauth2.py → requests_oauth2/oauth2.py
File renamed without changes
View
2  setup.py 100644 → 100755
@@ -3,7 +3,7 @@
from setuptools import setup, find_packages
-version = '0.1.1'
+version = '0.2.1'
setup(
name='requests-oauth2',
Please sign in to comment.
Something went wrong with that request. Please try again.