From: Alexander Popov Date: Sun, 18 Jun 2023 22:11:20 +0000 (+0300) Subject: setup: Don't use the automatic "find_namespace:" discovery X-Git-Tag: v0.6.6~133 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=203f9a203e9413a5ff407746be0c50d0cb708cc9;hp=e124d815b1e6db5d8bbf0a373f6f034ee878899d;p=kconfig-hardened-check.git 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. --- 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