Skip to content

Commit d9744ea

Browse files
authored
Remove metadata.json from build (#1085)
1 parent 8ef7f49 commit d9744ea

File tree

3 files changed

+1
-36
lines changed

3 files changed

+1
-36
lines changed

dash_bootstrap_components/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"""Bootstrap themed components for use in Plotly Dash"""
22

3-
import os
4-
53
from dash_bootstrap_components import _components, icons, themes
64
from dash_bootstrap_components._components import * # noqa
75
from dash_bootstrap_components._components import Table
@@ -10,9 +8,6 @@
108

119
__all__ = _components.__all__ + ["icons", "themes"]
1210

13-
_current_path = os.path.dirname(os.path.abspath(__file__))
14-
_METADATA_PATH = os.path.join(_current_path, "_components", "metadata.json")
15-
1611
_js_dist = [
1712
{
1813
"relative_package_path": ("_components/dash_bootstrap_components.min.js"),

docs/components_page/metadata.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ authors = [
1414
]
1515
maintainers = [{ name = "Tom Begley", email = "[email protected]" }]
1616
requires-python = ">=3.9, <4"
17-
dependencies = [
18-
"dash==3.0.0rc1",
19-
]
17+
dependencies = ["dash==3.0.0rc1"]
2018
classifiers = [
2119
"Framework :: Dash",
2220
"License :: OSI Approved :: Apache Software License",
@@ -49,7 +47,6 @@ include = [
4947
]
5048
artifacts = [
5149
"dash_bootstrap_components/_components/dash_bootstrap_components.min.js",
52-
"dash_bootstrap_components/_components/metadata.json",
5350
"dash_bootstrap_components/_components/*.py",
5451
]
5552

@@ -63,7 +60,6 @@ include = [
6360
]
6461
artifacts = [
6562
"dash_bootstrap_components/_components/dash_bootstrap_components.min.js",
66-
"dash_bootstrap_components/_components/metadata.json",
6763
"dash_bootstrap_components/_components/*.py",
6864
]
6965

0 commit comments

Comments
 (0)