diff --git a/pyproject.toml b/pyproject.toml index 7e48e31..434db59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,9 +28,9 @@ Homepage = "https://github.com/Moge800/gomc_rest_python" [tool.hatch.build.targets.wheel] packages = ["src/gomc_rest"] - -# The platform-specific server binaries live under gomc_rest/binaries/ and are -# shipped as package data. (Per-platform wheels are produced at release time; -# see binaries/README.md.) -[tool.hatch.build.targets.wheel.force-include] -"src/gomc_rest/binaries" = "gomc_rest/binaries" +# The platform-specific server binaries under gomc_rest/binaries/ are vendored +# at build time and are gitignored; list them as artifacts so the wheel ships +# whichever binary is present, without duplicating the tracked files (README, +# .gitignore) in that directory. (Per-platform wheels are produced at release +# time; see binaries/README.md.) +artifacts = ["src/gomc_rest/binaries/gomc-rest*"]