setup.py 1009 Bytes
Newer Older
1
2
3
4
from pathlib import Path
from setuptools import setup


Romain Clement's avatar
Romain Clement committed
5
VERSION = "0.1.2"
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24


def get_long_description():
    readme_path = Path(__file__).parent / "README.md"
    with open(readme_path.absolute(), mode="r", encoding="utf8") as fp:
        return fp.read()


setup(
    name="datasette-dashboards",
    description="Datasette plugin providing data dashboards from metadata",
    long_description=get_long_description(),
    long_description_content_type="text/markdown",
    author="Romain Clement",
    url="https://github.com/rclement/datasette-dashboards",
    license="Apache License, Version 2.0",
    version=VERSION,
    packages=["datasette_dashboards"],
    entry_points={"datasette": ["dashboards = datasette_dashboards"]},
25
    install_requires=["datasette", "datasette-render-markdown"],
26
    extras_require={"test": ["faker", "pytest", "pytest-asyncio", "sqlite-utils"]},
Romain Clement's avatar
Romain Clement committed
27
    tests_require=["datasette-my-plugin[test]"],
28
29
    package_data={"datasette_dashboards": ["templates/*.html", "static/*"]},
)