from setuptools import setup

url = "https://github.com/jic-dtool/dtool-info"
version = "0.16.2"
readme = open('README.rst').read()

setup(
    name="dtool-info",
    packages=["dtool_info"],
    package_data={"dtool_info": ["templates/*"]},
    version=version,
    description="Dtool plugin for getting information about datasets",
    long_description=readme,
    include_package_data=True,
    author="Tjelvar Olsson",
    author_email="tjelvar.olsson@gmail.com",
    url=url,
    install_requires=[
        "click",
        "dtoolcore>=3.0.0",
        "dtool_cli>=0.6.0",
        "jinja2",
        "pygments",
    ],
    entry_points={
        "dtool.cli": [
            "diff=dtool_info.dataset:diff",
            "ls=dtool_info.dataset:ls",
            "summary=dtool_info.dataset:summary",
            "item=dtool_info.dataset:item",
            "identifiers=dtool_info.dataset:identifiers",
            "verify=dtool_info.dataset:verify",
            "overlay=dtool_info.overlay:overlay",
            "inventory=dtool_info.inventory:inventory",
            "status=dtool_info.dataset:status",
            "uri=dtool_info.dataset:uri",
            "uuid=dtool_info.dataset:uuid",
        ],
    },
    download_url="{}/tarball/{}".format(url, version),
    license="MIT"
)
