-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
46 lines (41 loc) · 1.36 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
import json
from setuptools import setup
with open("package.json") as f:
package = json.load(f)
with open("README.md", "r", encoding="utf-8") as f:
description = f.read()
package_name = package["name"].replace(" ", "_").replace("-", "_")
setup(
name=package_name,
description=package.get("description", package_name),
long_description=description,
long_description_content_type="text/markdown",
version=package["version"],
author=package["author"],
packages=[package_name],
include_package_data=True,
package_data={
"dash_loading_spinners": [
"dash_loading_spinners.min.js",
"dash_loading_spinners.min.js.map",
"metadata.json",
"package-info.json",
]
},
url="https://dash-loading-spinners.sproodlebuzz.co.uk/",
project_urls={
"Bug Reports": package["bugs"]["url"],
"Source": "https://github.com/glsdown/dash-loading-spinners",
},
license=package["license"],
install_requires=["dash"],
classifiers=[
"Framework :: Dash",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
],
)