From 1b6a0a86b1855c1663afc2f402f226a1bf484d85 Mon Sep 17 00:00:00 2001 From: Akos Kiss Date: Fri, 20 Dec 2024 10:06:07 +0100 Subject: [PATCH] Python recognizes package data directories as importable packages. (#55) 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 directory / package: - picireny.antlr4.resources --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index bb4ec2d..d1f3b08 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,7 +26,7 @@ platform = any [options] package_dir = = src -packages = find: +packages = find_namespace: include_package_data = True python_requires = >=3.8 install_requires =