Skip to content

Commit 23e52af

Browse files
ShahanaFarooquicdecker
authored andcommitted
Add build-system table for build instructions
The `libs/gl-testserver/pyproject.toml` file is missing the [build-system] table, which is strongly recommended for any Python project intended to be built and installed. The [build-system] table is crucial because it defines two key things : - requires: A list of dependencies needed to build your project. - build-backend: The Python object that will perform the build. Without this section, tools like `uv` and `pip` do not know how to build and install the package from its source, even if all other project metadata is correctly specified.
1 parent 6841bf0 commit 23e52af

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

libs/gl-testserver/pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,15 @@ gltestserver = 'gltestserver.__main__:cli'
1515

1616
[tool.uv.sources]
1717
gl-testing = { workspace = true }
18+
19+
[tool.uv]
20+
package = true
21+
22+
[build-system]
23+
requires = ["hatchling"]
24+
build-backend = "hatchling.build"
25+
26+
[tool.hatch.build]
27+
include = [
28+
"gltestserver",
29+
]

0 commit comments

Comments
 (0)