Skip to content

Commit 59440f1

Browse files
Build: Fix package discovery (#581)
1 parent b6440a2 commit 59440f1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ license = {text = "MIT"}
1515
requires-python = ">=3.10"
1616
authors = [
1717
{name = "Eric Lemoine", email = "eric.lemoine@gmail.com"},
18+
{name = "Adrien Berchet", email = "adrien.berchet@gmail.com"},
1819
]
1920
keywords = ["geo", "gis", "sqlalchemy", "orm"]
2021
classifiers = [
@@ -47,20 +48,20 @@ Source = "https://github.com/geoalchemy/geoalchemy2"
4748
geoalchemy2 = "geoalchemy2.admin.plugin:GeoEngine"
4849

4950
[tool.setuptools]
50-
packages = ["geoalchemy2", "geoalchemy2.admin", "geoalchemy2.admin.dialects", "geoalchemy2.types", "geoalchemy2.types.dialects"]
5151
include-package-data = true
5252
zip-safe = false
5353

54+
[tool.setuptools.packages.find]
55+
include = ["geoalchemy2*"]
56+
5457
[tool.setuptools_scm]
5558

56-
# RUFF - Modern Python linter and formatter (replaces black, isort, flake8, pydocstyle)
5759
[tool.ruff]
5860
target-version = "py310"
5961
line-length = 100
6062
exclude = ["geoalchemy2/functions.pyi"] # Auto-generated file
6163

6264
[tool.ruff.lint]
63-
# Select rules to enable (E = pycodestyle, F = Pyflakes, I = isort, W = pycodestyle warnings, D = pydocstyle)
6465
select = [
6566
"E", # pycodestyle errors
6667
"F", # Pyflakes

0 commit comments

Comments
 (0)