Loading CHANGELOG.md +1 −0 Changes for CHANGELOG.md: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ - Fixed built wheels not getting information from the virtualenv. - Fixed building wheel with conditional extensions. - Fixed missing files in built wheel with extensions. - Fixed call to venv binaries on windows [0.6.2] - 2018-03-19 Loading poetry/utils/venv.py +5 −2 Changes for poetry/utils/venv.py: 5 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -36,9 +36,12 @@ class Venv: if self._venv: self._venv = Path(self._venv) self._windows = sys.platform == 'win32' self._bin_dir = None if venv: bin_dir = 'bin' if sys.platform != 'win32' else 'Scripts' bin_dir = 'bin' if not self._windows else 'Scripts' self._bin_dir = self._venv / bin_dir self._version_info = None Loading Loading @@ -254,7 +257,7 @@ class Venv: if not self.is_venv(): return bin return str(self._bin_dir / bin) return str(self._bin_dir / bin + ('.exe' if self._windows else '')) def is_venv(self) -> bool: return self._venv is not None Loading Loading
CHANGELOG.md +1 −0 Changes for CHANGELOG.md: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ - Fixed built wheels not getting information from the virtualenv. - Fixed building wheel with conditional extensions. - Fixed missing files in built wheel with extensions. - Fixed call to venv binaries on windows [0.6.2] - 2018-03-19 Loading
poetry/utils/venv.py +5 −2 Changes for poetry/utils/venv.py: 5 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -36,9 +36,12 @@ class Venv: if self._venv: self._venv = Path(self._venv) self._windows = sys.platform == 'win32' self._bin_dir = None if venv: bin_dir = 'bin' if sys.platform != 'win32' else 'Scripts' bin_dir = 'bin' if not self._windows else 'Scripts' self._bin_dir = self._venv / bin_dir self._version_info = None Loading Loading @@ -254,7 +257,7 @@ class Venv: if not self.is_venv(): return bin return str(self._bin_dir / bin) return str(self._bin_dir / bin + ('.exe' if self._windows else '')) def is_venv(self) -> bool: return self._venv is not None Loading