diff --git a/MANIFEST.in b/MANIFEST.in index 64169308..e933eb19 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ graft law graft bin -include setup.py requirements.txt requirements_docs.txt README.rst LICENSE .flake8 law.cfg.example +include pyproject.toml requirements.txt requirements_dev.txt requirements_docs.txt README.md LICENSE .flake8 law.cfg.example global-exclude *.py[cod] __pycache__ diff --git a/pyproject.toml b/pyproject.toml index 99cab880..d9e65359 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -81,11 +81,11 @@ include-package-data = false [tool.setuptools.packages.find] -include = ["law"] -exclude = ["tests/*"] +where = ["."] +include = ["law*"] [tool.mypy] disable_error_code = ["no-redef", "valid-type", "method-assign"] -exclude = ["law/templates/*", "docs", "examples", "tests", "build", "setup.py"] +exclude = ["docs", "examples", "tests", "build", "dist", "law/templates"]