Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google calendar support #12

Merged
merged 5 commits into from
Mar 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ venv/

# Documentation artifacts
docs/_build/

# pycharm
.idea
5 changes: 5 additions & 0 deletions publish.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import subprocess

subprocess.call(['pip', 'install', 'wheel'])
subprocess.call(['python', 'setup.py', 'clean', '--all'])
subprocess.call(['python', 'setup.py', 'register', 'sdist', 'bdist_wheel', 'upload'])
3 changes: 2 additions & 1 deletion service_account_auth/authorized_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ def _get_authorized_http(self):
scopes = {
'bigquery': 'https://www.googleapis.com/auth/bigquery',
'analytics-read': 'https://www.googleapis.com/auth/analytics.readonly',
'analytics': 'https://www.googleapis.com/auth/analytics'
'analytics': 'https://www.googleapis.com/auth/analytics',
'calendar': 'https://www.googleapis.com/auth/calendar',
}
credentials = SignedJwtAssertionCredentials(
self.email,
Expand Down
2 changes: 1 addition & 1 deletion service_account_auth/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.2.1'
__version__ = '0.2.2'
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ cover-package=service_account_auth
max-line-length = 120
exclude = docs,env,*.egg
max-complexity = 10
ignore = E402

[bdist_wheel]
universal = 1
universal = 1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_version():
license='MIT',
install_requires=[
'httplib2>=0.9',
'google-api-python-client>=1.2',
'google-api-python-client==1.2',
'pyopenssl>=0.14',
],
tests_require=[
Expand Down