Skip to content
Open
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: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ scripts = ["dda"]
packages = ["src/dda"]

[tool.hatch.build.targets.wheel.shared-data]
"uv.lock" = "dda-data/uv.lock"
"uv.lock" = "share/dda-data/uv.lock"
# TODO: remove when this is fixed https://github.com/astral-sh/uv/issues/6722
"pyproject.toml" = "dda-data/pyproject.toml"
"pyproject.toml" = "share/dda-data/pyproject.toml"

[tool.hatch.build.hooks.vcs]
version-file = "src/dda/_version.py"
Expand Down
2 changes: 1 addition & 1 deletion src/dda/cli/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def ensure_features_installed(
command.extend(["--only-group", feature])

with temp_directory() as temp_dir:
data_dir = Path(sysconfig.get_path("data")) / "dda-data"
data_dir = Path(sysconfig.get_path("data")) / "share" / "dda-data"
for filename in ("uv.lock", "pyproject.toml"):
data_file = data_dir / filename
shutil.copy(data_file, temp_dir)
Expand Down
Loading