Skip to content

Commit c2f5bc6

Browse files
fix: correct build (#4)
1 parent 7ff87e8 commit c2f5bc6

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

pyproject.toml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ readme = "README.md"
66
requires-python = ">=3.10"
77
dependencies = [
88
"setuptools>=61.0",
9+
"wheel",
910
"sqlalchemy>=2.0.35",
1011
"sqlalchemy-mixins>=2.0.5",
1112
"loguru>=0.7.2",
@@ -15,6 +16,20 @@ dependencies = [
1516
"dependency_injector>=4.45.0",
1617
]
1718

19+
[build-system]
20+
requires = ["setuptools >= 77.0.3"]
21+
build-backend = "setuptools.build_meta"
22+
23+
[tool.setuptools]
24+
include-package-data = true
25+
26+
[tool.setuptools.packages.find]
27+
where = ["src"]
28+
include = ["genai_monitor*"]
29+
30+
[tool.setuptools.package-data]
31+
"genai_monitor.registration" = ["data/*.json"]
32+
1833
[project.optional-dependencies]
1934
diffusers = [
2035
"diffusers>=0.31.0",
@@ -33,11 +48,7 @@ litellm = [
3348
"litellm>=1.60.2",
3449
]
3550

36-
[tool.setuptools]
37-
include-package-data = true
3851

39-
[tool.setuptools.package-data]
40-
"genai_monitor.registration" = ["data/*.json"]
4152

4253
[tool.uv]
4354
dev-dependencies = [

uv.lock

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)