| from setuptools import setup, find_packages | from setuptools import setup, find_packages |
| import sys, os | import sys, os |
| version = '0.1' | version = '0.1' |
| setup( | setup( |
| name='ckanext-ga-report', | name='ckanext-ga-report', |
| version=version, | version=version, |
| description="GA reporting for CKAN", | description="GA reporting for CKAN", |
| long_description="""\ | long_description="""\ |
| """, | """, |
| classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers | classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
| keywords='', | keywords='', |
| author='David Read', | author='David Read', |
| author_email='david.read@hackneyworkshop.com', | author_email='david.read@hackneyworkshop.com', |
| url='', | url='', |
| license='', | license='', |
| packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), | packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
| namespace_packages=['ckanext', 'ckanext.ga_report'], | namespace_packages=['ckanext', 'ckanext.ga_report'], |
| include_package_data=True, | include_package_data=True, |
| zip_safe=False, | zip_safe=False, |
| install_requires=[ | install_requires=[ |
| 'gdata', | 'gdata', |
| 'google-api-python-client' | 'google-api-python-client' |
| ], | ], |
| entry_points=\ | entry_points=\ |
| """ | """ |
| [ckan.plugins] | [ckan.plugins] |
| # Add plugins here, eg | # Add plugins here, eg |
| ga-report=ckanext.ga_report.plugin:GAReportPlugin | ga-report=ckanext.ga_report.plugin:GAReportPlugin |
| [paste.paster_command] | [paste.paster_command] |
| loadanalytics = ckanext.ga_report.command:LoadAnalytics | loadanalytics = ckanext.ga_report.command:LoadAnalytics |
| initdb = ckanext.ga_report.command:InitDB | initdb = ckanext.ga_report.command:InitDB |
| getauthtoken = ckanext.ga_report.command:GetAuthToken | |
| """, | """, |
| ) | ) |