diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9ebed4fa..2581a36d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -92,10 +92,6 @@ repos: # rev: v1.0.1 # hooks: # - id: rst-linter - - repo: https://github.com/mgedmin/check-manifest - rev: "0.49" - hooks: - - id: check-manifest - repo: https://github.com/abravalheri/validate-pyproject rev: v0.15 hooks: diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index 3f1f5cd2..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,7 +0,0 @@ -include *.rst -recursive-include docs *.txt -recursive-exclude *.pyc *.pyo -include docs/LICENSE.GPL -include pygeoif/py.typed -exclude pygeoif/.* -recursive-include tests *.py diff --git a/pyproject.toml b/pyproject.toml index 0bd0ced5..0c8419d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -115,11 +115,13 @@ reportMissingTypeStubs = true "D103", ] -[tool.setuptools] -include-package-data = true -packages = [ - "pygeoif", -] - [tool.setuptools.dynamic.version] attr = "pygeoif.about.__version__" + +[tool.setuptools.packages.find] +exclude = [ + "docs*", +] +include = [ + "pygeoif*", +]