From ffec1b2db7246fb0f2796555d1a04253dfdaceb6 Mon Sep 17 00:00:00 2001 From: Pavel Minaev Date: Mon, 28 Aug 2023 14:10:02 -0700 Subject: [PATCH] Fix find_namespace_packages --- setup.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/setup.py b/setup.py index 4ecb4010..f3e04cf3 100644 --- a/setup.py +++ b/setup.py @@ -176,18 +176,13 @@ if __name__ == "__main__": "License :: OSI Approved :: MIT License", ], package_dir={"": "src"}, - packages=setuptools.find_namespace_packages( - include=[ - "debugpy", - "debugpy.*", - ] - ), + packages=setuptools.find_namespace_packages(where="src", include=["debugpy*"]), package_data={ "debugpy": ["ThirdPartyNotices.txt"], "debugpy._vendored": [ # pydevd extensions must be built before this list can be computed properly, # so it is populated in the overridden build_py.finalize_options(). - ], + ], }, ext_modules=ExtModules(), has_ext_modules=lambda: True,