Skip to content

Commit

Permalink
Allow sdist to have multiple packages correct build
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasiscovici2 committed Feb 12, 2022
1 parent 177d610 commit f1022f7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/poetry/core/masonry/builders/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,7 @@ def find_files_to_add(self, exclude_build: bool = True) -> Set["BuildIncludeFile
if "__pycache__" in str(file):
continue

if (
isinstance(include, PackageInclude)
and include.source
and self.format == "wheel"
):
if isinstance(include, PackageInclude) and include.source:
source_root = include.base
else:
source_root = self._path
Expand Down

0 comments on commit f1022f7

Please sign in to comment.