Commit 778b5ad8 by Sébastien Eustace

Fix missing files in built wheels with extensions

parent 6d0aef0c
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
- Fixed built wheels not getting information from the virtualenv. - Fixed built wheels not getting information from the virtualenv.
- Fixed building wheel with conditional extensions. - Fixed building wheel with conditional extensions.
- Fixed missing files in built wheel with extensions.
[0.6.2] - 2018-03-19 [0.6.2] - 2018-03-19
......
...@@ -15,7 +15,6 @@ from types import SimpleNamespace ...@@ -15,7 +15,6 @@ from types import SimpleNamespace
from poetry.__version__ import __version__ from poetry.__version__ import __version__
from poetry.semver.constraints import Constraint from poetry.semver.constraints import Constraint
from poetry.semver.constraints import MultiConstraint from poetry.semver.constraints import MultiConstraint
from poetry.vcs import get_vcs
from ..utils.helpers import normalize_file_permissions from ..utils.helpers import normalize_file_permissions
from ..utils.tags import get_abbr_impl from ..utils.tags import get_abbr_impl
...@@ -163,22 +162,7 @@ class WheelBuilder(Builder): ...@@ -163,22 +162,7 @@ class WheelBuilder(Builder):
def find_excluded_files(self) -> list: def find_excluded_files(self) -> list:
# Checking VCS # Checking VCS
vcs = get_vcs(self._original_path) return []
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 @property
def dist_info(self) -> str: def dist_info(self) -> str:
......
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