-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a2c29e2
commit bdae1a7
Showing
13 changed files
with
122 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
include README.md | ||
include LICENSE | ||
include requires-*.txt | ||
include dash/favicon.ico | ||
include dash/extract-meta.js | ||
include dash/deps/*.js | ||
include dash/deps/*.map | ||
include dash/dcc/* | ||
include dash/html/* | ||
include dash/dash_table/* | ||
include dash/dash-renderer/build/*.js | ||
include dash/dash-renderer/build/*.map | ||
include dash/labextension/dist/dash-jupyterlab.tgz | ||
include dash/labextension/package.json | ||
include src/dash/favicon.ico | ||
include src/dash/extract-meta.js | ||
include src/dash/deps/*.js | ||
include src/dash/deps/*.map | ||
include src/dash/dcc/* | ||
include src/dash/html/* | ||
include src/dash/dash_table/* | ||
include src/dash/dash-renderer/build/*.js | ||
include src/dash/dash-renderer/build/*.map | ||
include src/dash/labextension/dist/dash-jupyterlab.tgz | ||
include src/dash/labextension/package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "dash" | ||
authors = [{name = "Chris Parmer", email = "[email protected]"}] | ||
license = {text = "MIT"} | ||
description = "A Python framework for building reactive web-apps. Developed by Plotly." | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Web Environment", | ||
"Framework :: Dash", | ||
"Framework :: Flask", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Financial and Insurance Industry", | ||
"Intended Audience :: Healthcare Industry", | ||
"Intended Audience :: Manufacturing", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"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", | ||
"Topic :: Database :: Front-Ends", | ||
"Topic :: Office/Business :: Financial :: Spreadsheet", | ||
"Topic :: Scientific/Engineering :: Visualization", | ||
"Topic :: Software Development :: Libraries :: Application Frameworks", | ||
"Topic :: Software Development :: Widget Sets", | ||
] | ||
requires-python = ">=3.8" | ||
dynamic = ["version", "dependencies", "optional-dependencies"] | ||
|
||
[project.readme] | ||
file = "README.md" | ||
content-type = "text/markdown" | ||
|
||
[project.urls] | ||
Homepage = "https://plotly.com/dash" | ||
Documentation = "https://dash.plotly.com" | ||
Source = "https://github.com/plotly/dash" | ||
"Issue Tracker" = "https://github.com/plotly/dash/issues" | ||
|
||
[project.entry-points] | ||
pytest11 = {dash = "dash.testing.plugin"} | ||
|
||
[project.scripts] | ||
dash-generate-components = "dash.development.component_generator:cli" | ||
renderer = "dash.development.build_process:renderer" | ||
dash-update-components = "dash.development.update_components:cli" | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "dash.version.__version__"} | ||
dependencies = { file = "requires-install.txt"} | ||
|
||
[tool.setuptools.dynamic.optional-dependencies] | ||
ci = { file = "requires-ci.txt" } | ||
dev = { file = "requires-dev.txt" } | ||
testing = { file = "requires-testing.txt" } | ||
celery = { file = "requires-celery.txt" } | ||
diskcache = { file = "requires-diskcache.txt" } | ||
compress = { file = "requires-compress.txt" } | ||
|
||
[tool.setuptools.packages.find] | ||
namespaces = false | ||
where = ["src"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,19 @@ | ||
import io | ||
from setuptools import setup, find_packages | ||
|
||
main_ns = {} | ||
exec(open("dash/version.py", encoding="utf-8").read(), main_ns) # pylint: disable=exec-used, consider-using-with | ||
|
||
|
||
def read_req_file(req_type): | ||
with open(f"requires-{req_type}.txt", encoding="utf-8") as fp: | ||
requires = (line.strip() for line in fp) | ||
return [req for req in requires if req and not req.startswith("#")] | ||
from setuptools import setup | ||
|
||
|
||
setup( | ||
name="dash", | ||
version=main_ns["__version__"], | ||
author="Chris Parmer", | ||
author_email="[email protected]", | ||
packages=find_packages(exclude=["tests*"]), | ||
include_package_data=True, | ||
license="MIT", | ||
description=( | ||
"A Python framework for building reactive web-apps. " | ||
"Developed by Plotly." | ||
), | ||
long_description=io.open("README.md", encoding="utf-8").read(), # pylint: disable=consider-using-with | ||
long_description_content_type="text/markdown", | ||
install_requires=read_req_file("install"), | ||
python_requires=">=3.8", | ||
extras_require={ | ||
"ci": read_req_file("ci"), | ||
"dev": read_req_file("dev"), | ||
"testing": read_req_file("testing"), | ||
"celery": read_req_file("celery"), | ||
"diskcache": read_req_file("diskcache"), | ||
"compress": read_req_file("compress") | ||
}, | ||
entry_points={ | ||
"console_scripts": [ | ||
"dash-generate-components = " | ||
"dash.development.component_generator:cli", | ||
"renderer = dash.development.build_process:renderer", | ||
"dash-update-components = dash.development.update_components:cli" | ||
], | ||
"pytest11": ["dash = dash.testing.plugin"], | ||
}, | ||
url="https://plotly.com/dash", | ||
project_urls={ | ||
"Documentation": "https://dash.plotly.com", | ||
"Source": "https://github.com/plotly/dash", | ||
"Issue Tracker": "https://github.com/plotly/dash/issues", | ||
}, | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Web Environment", | ||
"Framework :: Dash", | ||
"Framework :: Flask", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: Financial and Insurance Industry", | ||
"Intended Audience :: Healthcare Industry", | ||
"Intended Audience :: Manufacturing", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"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", | ||
"Topic :: Database :: Front-Ends", | ||
"Topic :: Office/Business :: Financial :: Spreadsheet", | ||
"Topic :: Scientific/Engineering :: Visualization", | ||
"Topic :: Software Development :: Libraries :: Application Frameworks", | ||
"Topic :: Software Development :: Widget Sets", | ||
], | ||
data_files=[ | ||
# like `jupyter nbextension install --sys-prefix` | ||
("share/jupyter/nbextensions/dash", [ | ||
"dash/nbextension/main.js", | ||
"src/dash/nbextension/main.js", | ||
]), | ||
# like `jupyter nbextension enable --sys-prefix` | ||
("etc/jupyter/nbconfig/notebook.d", [ | ||
"dash/nbextension/dash.json" | ||
"src/dash/nbextension/dash.json" | ||
]), | ||
# Place jupyterlab extension in extension directory | ||
("share/jupyter/lab/extensions", [ | ||
"dash/labextension/dist/dash-jupyterlab.tgz" | ||
"src/dash/labextension/dist/dash-jupyterlab.tgz" | ||
]), | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters