ckanext-googleanalytics/setup.py

43 lines
1.2 KiB
Python

import os
from setuptools import setup, find_packages
HERE = os.path.dirname(__file__)
version = "2.0.3"
extras_require = {}
_extras_groups = [
('requirements', 'requirements.txt'),
]
for group, filepath in _extras_groups:
with open(os.path.join(HERE, filepath), 'r') as f:
extras_require[group] = f.readlines()
setup(
name="ckanext-googleanalytics",
version=version,
description="Add GA tracking and reporting to CKAN instance",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords="",
author="Seb Bacon",
author_email="seb.bacon@gmail.com",
url="",
license="",
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
namespace_packages=["ckanext", "ckanext.googleanalytics"],
include_package_data=True,
zip_safe=False,
install_requires=[],
extras_require=extras_require,
entry_points="""
[ckan.plugins]
# Add plugins here, eg
googleanalytics=ckanext.googleanalytics.plugin:GoogleAnalyticsPlugin
[paste.paster_command]
loadanalytics = ckanext.googleanalytics.commands:LoadAnalytics
initdb = ckanext.googleanalytics.commands:InitDB
""",
)