diff options
| author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-08-11 22:12:07 +0100 |
|---|---|---|
| committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-08-11 22:12:07 +0100 |
| commit | 32e18c05945541e899e15d71c66439aa0ddca88b (patch) | |
| tree | 4cfe4399290c68d8bb17b1ef529f04f34c8ae952 /setuptools/command | |
| parent | c2397339d57db2e792cbc629d088f7ef091d271b (diff) | |
| parent | 611f54ca354f874d342e16d498a882dd7ac5853f (diff) | |
| download | python-setuptools-git-32e18c05945541e899e15d71c66439aa0ddca88b.tar.gz | |
Fix issue with editable install and single module distributions
Diffstat (limited to 'setuptools/command')
| -rw-r--r-- | setuptools/command/editable_wheel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/editable_wheel.py b/setuptools/command/editable_wheel.py index eb79608b..1bb7ddfb 100644 --- a/setuptools/command/editable_wheel.py +++ b/setuptools/command/editable_wheel.py @@ -439,7 +439,7 @@ class _TopLevelFinder: roots = _find_package_roots(top_level, package_dir, src_root) namespaces_: Dict[str, List[str]] = dict(chain( - _find_namespaces(self.dist.packages, roots), + _find_namespaces(self.dist.packages or [], roots), ((ns, []) for ns in _find_virtual_namespaces(roots)), )) |
