From 203f9a203e9413a5ff407746be0c50d0cb708cc9 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 19 Jun 2023 01:11:20 +0300 Subject: [PATCH] setup: Don't use the automatic "find_namespace:" discovery This automatic discovery doesn't fit to the flat layout of my package (without the "src" directory). Instead, let's specify the "packages" explicitly in setup.cfg. --- setup.cfg | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/setup.cfg b/setup.cfg index 168169f..c544cec 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,12 +17,14 @@ classifiers = [options] setup_requires = setuptools -packages = find_namespace: +packages = + kconfig_hardened_check + kconfig_hardened_check.config_files + kconfig_hardened_check.config_files.defconfigs + kconfig_hardened_check.config_files.distros + kconfig_hardened_check.config_files.kspp-recommendations include_package_data = true -[options.packages.find] -where = kconfig_hardened_check - [options.entry_points] console_scripts = kconfig-hardened-check = kconfig_hardened_check:main -- 2.31.1