-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
setup.py
56 lines (50 loc) · 1.64 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import os
from setuptools import setup
VERSION = "1.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="django-sql-dashboard",
description="Django app for building dashboards using raw SQL queries",
long_description=get_long_description(),
long_description_content_type="text/markdown",
author="Simon Willison",
url="https://github.com/simonw/django-sql-dashboard",
project_urls={
"Documentation": "https://django-sql-dashboard.datasette.io/",
"Issues": "https://github.com/simonw/django-sql-dashboard/issues",
"CI": "https://github.com/simonw/django-sql-dashboard/actions",
"Changelog": "https://github.com/simonw/django-sql-dashboard/releases",
},
license="Apache License, Version 2.0",
version=VERSION,
packages=["django_sql_dashboard"],
package_data={
"django_sql_dashboard": [
"templates/django_sql_dashboard/*.html",
"templates/django_sql_dashboard/widgets/*.html",
"migrations/*.py",
"templatetags/*.py",
]
},
install_requires=["Django>=3.0", "markdown", "bleach"],
extras_require={
"test": [
"black>=22.3.0",
"psycopg2",
"pytest",
"pytest-django==4.2.0",
"pytest-pythonpath",
"dj-database-url",
"testing.postgresql",
"beautifulsoup4",
"html5lib",
],
},
tests_require=["django-sql-dashboard[test]"],
python_requires=">=3.6",
)