From 7dfc635c97379858da339ec00808daf903581686 Mon Sep 17 00:00:00 2001 From: George Macon Date: Thu, 30 Nov 2023 10:17:53 -0500 Subject: [PATCH] Configure setuptools package discovery Issue: #1886 --- CHANGELOG.md | 1 + pyproject.toml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f6d1776be..a94f0281ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,6 +64,7 @@ - binja: improve function call site detection @xusheng6 - binja: use `binaryninja.load` to open files @xusheng6 - binja: bump binja version to 3.5 #1789 @xusheng6 +- packaging: explicitly list all importable packages in `pyproject.toml` #1886 @gmacon ### capa explorer IDA Pro plugin diff --git a/pyproject.toml b/pyproject.toml index 38f2e80cf2..f232cbc21e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,8 +56,9 @@ dynamic = ["version"] [tool.setuptools.dynamic] version = {attr = "capa.version.__version__"} -[tool.setuptools] -packages = ["capa"] +[tool.setuptools.packages.find] +include = ["capa*"] +namespaces = false [project.optional-dependencies] dev = [