Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

* check if relative filename is in excluded file list #1459

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions poetry/masonry/builders/wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def _copy_module(self, wheel):
else:
rel_file = file.relative_to(self._path)

if file in excluded:
if str(rel_file) in excluded:
finswimmer marked this conversation as resolved.
Show resolved Hide resolved
continue

if file.suffix == ".pyc":
Expand Down Expand Up @@ -199,10 +199,6 @@ def _write_record(self, wheel):
# RECORD itself is recorded with no hash or size
f.write(self.dist_info + "/RECORD,,\n")

def find_excluded_files(self): # type: () -> Set
# Checking VCS
return set()

@property
def dist_info(self): # type: () -> str
return self.dist_info_name(self._package.name, self._meta.version)
Expand Down