Commit 83f15b2d authored by Romain Clement's avatar Romain Clement
Browse files

Add basic setup.py for packaging

parent 5ca7b215
from pathlib import Path
from setuptools import setup
VERSION = "0.1"
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"]},
install_requires=["datasette"],
package_data={"datasette_dashboards": ["templates/*.html", "static/*"]},
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment