Skip to content

Commit 92cad0a

Browse files
committed
Switch to uv build
1 parent be13d93 commit 92cad0a

File tree

10 files changed

+12
-7
lines changed

10 files changed

+12
-7
lines changed

pyproject.toml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,19 @@ lint = [
4141
]
4242

4343
[build-system]
44-
requires = [
45-
"setuptools>=77.0.3",
46-
"setuptools-scm",
44+
requires = ["uv_build>=0.7.19,<0.8.0"]
45+
build-backend = "uv_build"
46+
47+
[tool.uv.build-backend]
48+
source-include = [
49+
"HISTORY.rst",
50+
"README.rst",
51+
"LICENSE",
52+
"docs/html",
53+
"examples/*.py",
54+
"tests/*.py",
55+
"tests/data/test-data/*.mmdb"
4756
]
48-
build-backend = "setuptools.build_meta"
4957

5058
[project.urls]
5159
Homepage = "https://www.maxmind.com/"
@@ -84,9 +92,6 @@ ignore = [
8492
"geoip2/{models,records}.py" = [ "D107", "PLR0913" ]
8593
"tests/*" = ["ANN201", "D"]
8694

87-
[tool.setuptools.package-data]
88-
geoip2 = ["py.typed"]
89-
9095
[tool.tox]
9196
env_list = [
9297
"3.9",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)