Skip to content

Commit 70c58c8

Browse files
committed
Don't require setuptools in dependencies in pyproject.toml
It's not required for production use, only for building. Instead, add the constraint part to `build_system -> requires` to save everyone having to ship setuptools in production builds. Fixes #154.
1 parent ee8e7f9 commit 70c58c8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools", "setuptools-scm", "wheel"]
2+
requires = ["setuptools>=68.2.2", "setuptools-scm", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
@@ -9,9 +9,6 @@ description = "Reader for the MaxMind DB format"
99
authors = [
1010
{name = "Gregory Oschwald", email = "[email protected]"},
1111
]
12-
dependencies = [
13-
"setuptools>=68.2.2",
14-
]
1512
requires-python = ">=3.8"
1613
readme = "README.rst"
1714
license = {text = "Apache License, Version 2.0"}

0 commit comments

Comments
 (0)