Skip to content

Commit 8815fa4

Browse files
authored
Correctly add package data directories to distribution (#80)
Python recognizes package data directories as importable packages. However, as they are absent from setuptools' `packages` configuration, this causes warnings that they would be ignored. The recommended approach is to treat data as namespace package using the `find_namespace:` discovery mechanism. The affected data directories / packages: - fuzzinator.ui.tui.resources - fuzzinator.ui.wui.resources.static - fuzzinator.ui.wui.resources.static.assets - fuzzinator.ui.wui.resources.static.images - fuzzinator.ui.wui.resources.static.scripts - fuzzinator.ui.wui.resources.static.styles - fuzzinator.ui.wui.resources.templates - fuzzinator.ui.wui.resources.templates.report
1 parent 7fa7024 commit 8815fa4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ classifiers =
2525
[options]
2626
package_dir =
2727
= src
28-
packages = find:
28+
packages = find_namespace:
2929
include_package_data = True
3030
python_requires = >=3.8
3131
install_requires =

0 commit comments

Comments
 (0)