Skip to content

Commit eb8650b

Browse files
committed
Add itables_for_dash to the wheel and sdist
1 parent 4a059a8 commit eb8650b

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,7 @@ jobs:
122122
run : pip install hatch
123123
- name: Build package
124124
run: hatch build
125+
- name: Check LICENSE.txt in wheel
126+
run: unzip -l dist/*.whl | grep -q itables_for_dash/async-ITable.js.LICENSE.txt
127+
- name: Check LICENSE.txt in sdist
128+
run: tar -tvf dist/*.tar.gz | grep -q itables_for_dash/async-ITable.js.LICENSE.txt

environment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,7 @@ dependencies:
2626
- shinywidgets
2727
- streamlit
2828
- anywidget
29+
- hatch
30+
- dash
2931
- pip:
3032
- world_bank_data

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,21 @@ build_cmd = "build"
101101
npm = ["npm"]
102102

103103
[tool.hatch.build.targets.sdist]
104+
packages = ["src/itables", "src/itables_for_dash"]
104105
artifacts = [
105106
"src/itables/html/dt_bundle.js",
106107
"src/itables/html/dt_bundle.css",
107-
"src/itables/dash/*",
108+
"src/itables_for_dash/*",
108109
"src/itables/itables_for_streamlit/*",
109110
"src/itables/widget/static/*"
110111
]
111112

112113
[tool.hatch.build.targets.wheel]
114+
packages = ["src/itables", "src/itables_for_dash"]
113115
artifacts = [
114116
"src/itables/html/dt_bundle.js",
115117
"src/itables/html/dt_bundle.css",
116-
"src/itables/dash/*",
118+
"src/itables_for_dash/*",
117119
"src/itables/itables_for_streamlit/*",
118120
"src/itables/widget/static/*"
119121
]

0 commit comments

Comments
 (0)