Fix find_namespace_packages

This commit is contained in:
Pavel Minaev 2023-08-28 14:10:02 -07:00 committed by Pavel Minaev
parent 7b985fd36b
commit ffec1b2db7

View file

@ -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,