-
Notifications
You must be signed in to change notification settings - Fork 221
/
setup.py
55 lines (46 loc) · 1.66 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
import io
import os
from setuptools import find_packages, setup
HERE = os.path.dirname(os.path.abspath(__file__))
GITHUB_URL = "https://github.com/facultyai/dash-bootstrap-components/"
def _get_version():
"""Get version by parsing _version programmatically"""
version_ns = {}
with open(
os.path.join(HERE, "dash_bootstrap_components", "_version.py")
) as f:
exec(f.read(), {}, version_ns)
version = version_ns["__version__"]
return version
def _get_long_description():
with io.open(os.path.join(HERE, "landing-page.md"), encoding="utf8") as f:
return f.read()
setup(
name="dash-bootstrap-components",
version=_get_version(),
description="Bootstrap themed components for use in Plotly Dash",
long_description=_get_long_description(),
long_description_content_type="text/markdown",
license="Apache Software License",
author="Faculty",
author_email="[email protected]",
url="https://dash-bootstrap-components.opensource.faculty.ai/",
project_urls={
"Bug Reports": os.path.join(GITHUB_URL, "issues"),
"Source": GITHUB_URL,
},
packages=find_packages(),
install_requires=["dash>=2.0.0"],
include_package_data=True,
classifiers=[
"Framework :: Dash",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
extras_require={"pandas": ["numpy", "pandas"]},
python_requires=">=3.8, <4",
)