-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
40 lines (35 loc) · 1.2 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
import json
from setuptools import setup
with open("package.json") as f:
package = json.load(f)
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
package_name = package["name"].replace(" ", "_").replace("-", "_")
setup(
name=package_name,
version=package["version"],
author=package["author"],
packages=[package_name],
include_package_data=True,
license=package["license"],
description=package.get("description", package_name),
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=["dash>=2", "dash-bootstrap-components>=1.4.0"],
python_requires=">=3.6",
url=package["homepage"],
project_urls={
"Documentation": package["homepage"],
"Source": package["homepage"],
"Issue Tracker": package["bugs"]["url"],
},
classifiers=[
"Framework :: Dash",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
)