Skip to content

Commit ec5521c

Browse files
Dmitry V SelitskyDmitry V Selitsky
authored andcommitted
Py3k support + style corrections
0 parents  commit ec5521c

262 files changed

Lines changed: 75399 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.py[cod]

MANIFEST.in

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
include MANIFEST
2+
include *.txt
3+
include *.py
4+
recursive-include src *
5+
recursive-include samples *
6+
recursive-include tests *
7+
recursive-include pydocs *
8+
global-exclude *.pyc

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
PYTHONPATH := src
2+
3+
test:
4+
python tests/all_tests_local.py
5+
6+
docs:
7+
cd docs && sh generate_docs

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Modernized version of gdata-python-client, for Python versions 3.5+
2+
3+
### Install
4+
5+
`pip install -e git+https://github.com/dvska/gdata-python3#egg=gdata`
6+
or
7+
`sudo python setup.py install`
8+
9+
10+
### Running Tests and Samples
11+
12+
python ./tests/run_data_tests.py
13+
14+
15+
--------------------------------------------------------
16+
17+
Copyright (C) 2006-2014 Google Inc.
18+
19+
Licensed under the Apache License 2.0

setup.py

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
#
2+
# Copyright (C) 2009 Google Inc.
3+
#
4+
# Licensed under the Apache License 2.0;
5+
6+
7+
import sys
8+
from distutils.core import setup
9+
10+
required = ['pycrypto', 'tlslite']
11+
12+
if sys.version_info[:3] < (2, 9, 0):
13+
raise NotImplemented('Python 3.5+ required, bye-bye')
14+
15+
setup(name='gdata',
16+
version='3.0.0',
17+
description='Python client library for Google data APIs',
18+
long_description="""\
19+
The Google data Python client library makes it easy to interact with
20+
Google services through the Google Data APIs. This library provides data
21+
models and service modules for the the following Google data services:
22+
- Google Calendar data API
23+
- Google Contacts data API
24+
- Google Spreadsheets data API
25+
- Google Document List data APIs
26+
- Google Base data API
27+
- Google Apps Provisioning API
28+
- Google Apps Email Migration API
29+
- Google Apps Email Settings API
30+
- Picasa Web Albums Data API
31+
- Google Code Search Data API
32+
- YouTube Data API
33+
- Google Webmaster Tools Data API
34+
- Blogger Data API
35+
- Google Health API
36+
- Google Book Search API
37+
- Google Analytics API
38+
- Google Finance API
39+
- Google Sites Data API
40+
- Google Content API For Shopping
41+
- Google App Marketplace API
42+
- Google Content API for Shopping
43+
- core Google data API functionality
44+
The core Google data code provides sufficient functionality to use this
45+
library with any Google data API (even if a module hasn't been written for
46+
it yet). For example, this client can be used with the Notebook API. This
47+
library may also be used with any Atom Publishing Protocol service (AtomPub).
48+
""",
49+
author='Jeffrey Scudder',
50+
author_email='j.s@google.com',
51+
license='Apache 2.0',
52+
url='https://github.com/dvska/gdata-python3',
53+
packages=[
54+
'atom',
55+
'gdata',
56+
'gdata.acl',
57+
'gdata.alt',
58+
'gdata.analytics',
59+
'gdata.apps',
60+
'gdata.apps.adminsettings',
61+
'gdata.apps.audit',
62+
'gdata.apps.emailsettings',
63+
'gdata.apps.groups',
64+
'gdata.apps.migration',
65+
'gdata.apps.multidomain',
66+
'gdata.apps.organization',
67+
'gdata.blogger',
68+
'gdata.calendar',
69+
'gdata.calendar_resource',
70+
'gdata.codesearch',
71+
'gdata.contacts',
72+
'gdata.contentforshopping',
73+
'gdata.docs',
74+
'gdata.dublincore',
75+
'gdata.exif',
76+
'gdata.geo',
77+
'gdata.media',
78+
'gdata.oauth',
79+
'gdata.opensearch',
80+
'gdata.photos',
81+
'gdata.projecthosting',
82+
'gdata.sites',
83+
'gdata.spreadsheet',
84+
'gdata.spreadsheets',
85+
'gdata.webmastertools',
86+
'gdata.youtube',
87+
],
88+
package_dir={'gdata': 'src/gdata', 'atom': 'src/atom'},
89+
install_requires=required
90+
)

0 commit comments

Comments
 (0)