Skip to content

Commit aaebdce

Browse files
committed
Remove duplicate setuptools setup.cfg
And update pyproject.toml settings to match any that was missing.
1 parent 4d28e1d commit aaebdce

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,12 @@ requires = [
5050
]
5151
build-backend = "setuptools.build_meta"
5252

53+
[tool.setuptools]
54+
include-package-data = true
55+
packages = ["maxminddb"]
56+
5357
[tool.setuptools.package-data]
54-
maxminddb = ["py.typed"]
58+
maxminddb = ["extension.pyi", "py.typed"]
5559

5660
[tool.black]
5761
# src is showing up in our GitHub linting builds. It seems to

setup.cfg

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,3 @@
22
extend-ignore = E203
33
# black uses 88 : ¯\_(ツ)_/¯
44
max-line-length = 88
5-
6-
[options]
7-
package_dir =
8-
maxminddb = maxminddb
9-
packages = maxminddb
10-
install_requires =
11-
include_package_data = True
12-
python_requires = >=3.9
13-
14-
[options.package_data]
15-
maxminddb = extension.pyi; py.typed

0 commit comments

Comments
 (0)