|
| 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