Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add itables_for_dash to the wheel and sdist #361

Merged
merged 1 commit into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,7 @@ jobs:
run : pip install hatch
- name: Build package
run: hatch build
- name: Check LICENSE.txt in wheel
run: unzip -l dist/*.whl | grep -q itables_for_dash/async-ITable.js.LICENSE.txt
- name: Check LICENSE.txt in sdist
run: tar -tvf dist/*.tar.gz | grep -q itables_for_dash/async-ITable.js.LICENSE.txt
2 changes: 2 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ dependencies:
- shinywidgets
- streamlit
- anywidget
- hatch
- dash
- pip:
- world_bank_data
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,21 @@ build_cmd = "build"
npm = ["npm"]

[tool.hatch.build.targets.sdist]
packages = ["src/itables", "src/itables_for_dash"]
artifacts = [
"src/itables/html/dt_bundle.js",
"src/itables/html/dt_bundle.css",
"src/itables/dash/*",
"src/itables_for_dash/*",
"src/itables/itables_for_streamlit/*",
"src/itables/widget/static/*"
]

[tool.hatch.build.targets.wheel]
packages = ["src/itables", "src/itables_for_dash"]
artifacts = [
"src/itables/html/dt_bundle.js",
"src/itables/html/dt_bundle.css",
"src/itables/dash/*",
"src/itables_for_dash/*",
"src/itables/itables_for_streamlit/*",
"src/itables/widget/static/*"
]
Loading