-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
40 lines (35 loc) · 1.31 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
from setuptools import setup
import os
VERSION = "0.10.2"
def get_long_description():
with open(
os.path.join(os.path.dirname(os.path.abspath(__file__)), "README.md"),
encoding="utf8",
) as fp:
return fp.read()
setup(
name="dogsheep-beta",
description="Build a search index across content from multiple SQLite database tables and run faceted searches against it using Datasette",
long_description=get_long_description(),
long_description_content_type="text/markdown",
author="Simon Willison",
url="https://github.com/dogsheep/beta",
project_urls={
"Issues": "https://github.com/dogsheep/beta/issues",
"CI": "https://github.com/dogsheep/beta/actions",
"Changelog": "https://github.com/dogsheep/beta/releases",
},
license="Apache License, Version 2.0",
version=VERSION,
packages=["dogsheep_beta"],
package_data={"dogsheep_beta": ["templates/*.html"]},
entry_points={
"datasette": ["beta = dogsheep_beta"],
"console_scripts": ["dogsheep-beta = dogsheep_beta.cli:cli"],
},
install_requires=["datasette>=0.50.2", "click", "PyYAML", "sqlite-utils>=3.0"],
extras_require={
"test": ["pytest", "pytest-asyncio", "httpx", "beautifulsoup4", "html5lib"]
},
tests_require=["dogsheep-beta[test]"],
)