forked from fohrloop/dash-uploader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (35 loc) · 1007 Bytes
/
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
import json
from setuptools import setup
with open("package.json") as f:
package = json.load(f)
with open("docs/README-PyPi.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"],
author_email="niko@pasanen.me",
url=package["homepage"],
packages=[
package_name,
package_name + "._build",
],
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>=1.1.0",
"packaging>= 21.0"
],
extras_require={
"dev": [
"pyyaml~=5.3.1", # building with dash-generate-components
]
},
classifiers=[
"Framework :: Dash",
],
)