Skip to content
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
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,18 @@ Homepage = "https://github.com/NHERI-SimCenter/DamageAndLossModelLibrary"
Documentation = "https://nheri-simcenter.github.io/DamageAndLossModelLibrary/"
Repository = "https://github.com/NHERI-SimCenter/DamageAndLossModelLibrary"

# Streamlit Community Cloud installs dependencies with `uv sync` when a uv.lock
# is present, and `uv sync` installs the base package plus DEFAULT GROUPS but NOT
# optional-dependency extras. Expose the web deps as a default group that simply
# references the `explorer` extra (single source of truth), so the deployed app
# gets everything it needs. This does not affect the published wheel: dependency
# groups are dev-time only, so `pip install simcenter-dlml` stays lightweight.
[dependency-groups]
deploy = ["simcenter-dlml[explorer]"]

[tool.uv]
default-groups = ["deploy"]

[tool.hatch.build.targets.wheel]
packages = ["src/dlml"]
exclude = [
Expand Down
17 changes: 0 additions & 17 deletions requirements.txt

This file was deleted.

8 changes: 8 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading