From 891f2022d50a38687611a885f518e81c5476b98e Mon Sep 17 00:00:00 2001 From: Corvo <60719165+brothercorvo@users.noreply.github.com> Date: Thu, 25 Sep 2025 17:35:56 -0300 Subject: [PATCH] Restrict package discovery for editable installs --- pyproject.toml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ce2fdb8..04d9a3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ version = "0.1.0" description = "Reticulum LXMF-based OpenAPI framework" readme = "README.md" requires-python = ">=3.8" -license = {text = "MIT"} +license = "MIT" dependencies = [ "RNS", "LXMF", @@ -25,5 +25,22 @@ dev = [ "flake8" ] +[tool.setuptools.packages.find] +include = [ + "reticulum_openapi", + "reticulum_openapi.*" +] +exclude = [ + "tests", + "tests.*", + "examples", + "examples.*", + "templates", + "templates.*", + "scripts", + "scripts.*", + "venv_*" +] + [tool.pytest.ini_options] pythonpath = ["."]