From 58f55a529ab00f9258b9fc13613f63dafc90f7b0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 2 Mar 2023 16:41:54 +0100 Subject: get rid of extra files in the wheel Before the previous commit, `python -m build` would include both cgitize/ and test/. After the previous commit, the same command would include all the files in the repository. Why? I really don't know. List the package explicitly - we only need these files. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5d7e0bd..51ee7f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ classifiers = [ [project.scripts] cgitize = "cgitize.main:main" -[tool.setuptools.packages] -find = {} +[tool.setuptools] +packages = ["cgitize"] [tool.setuptools_scm] -- cgit v1.2.3