Commit 778b5ad8 by Sébastien Eustace

Fix missing files in built wheels with extensions

parent 6d0aef0c
......@@ -6,6 +6,7 @@
- Fixed built wheels not getting information from the virtualenv.
- Fixed building wheel with conditional extensions.
- Fixed missing files in built wheel with extensions.
[0.6.2] - 2018-03-19
......
......@@ -15,7 +15,6 @@ from types import SimpleNamespace
from poetry.__version__ import __version__
from poetry.semver.constraints import Constraint
from poetry.semver.constraints import MultiConstraint
from poetry.vcs import get_vcs
from ..utils.helpers import normalize_file_permissions
from ..utils.tags import get_abbr_impl
......@@ -163,23 +162,8 @@ class WheelBuilder(Builder):
def find_excluded_files(self) -> list:
# Checking VCS
vcs = get_vcs(self._original_path)
if not vcs:
return []
ignored = vcs.get_ignored_files()
result = []
for file in ignored:
try:
file = Path(file).absolute().relative_to(self._original_path)
except ValueError:
# Should only happen in tests
continue
result.append(file)
return result
@property
def dist_info(self) -> str:
return self.dist_info_name(self._package.name, self._package.version)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment