Skip to content

Commit

Permalink
fix: skip install in default env
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-auchincloss committed Feb 19, 2024
1 parent 00ec8d3 commit a4c817c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test_libraries/src_structure/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ templated_mac = {supported = ["int", "float"]}
templated_win = {supported = ["int", "float", "complex"]}

[build.targets.custom.force-include]
"include/" = "include/"
"scripts/" = "scripts/"
"include" = "include/"
"scripts" = "scripts/"

[build.targets.sdist]
include = ["scripts/", "include/", "src/"]
Expand All @@ -115,14 +115,15 @@ include = ["scripts/", "include/", "src/"]
packages = ["src/example_lib"]

[build.targets.wheel.force-include]
"include/" = "include/"
"scripts/" = "scripts/"
"include" = "include/"
"scripts" = "scripts/"

[[envs.all.matrix]]
python = ["3.8", "3.9", "3.10", "3.11"]

[envs.default]
dependencies = ["coverage", "pytest", "beartype", "numpy"]
skip-install = true

[envs.default.scripts]
cov = ["install", "test-cov", "cov-report"]
Expand Down

0 comments on commit a4c817c

Please sign in to comment.