We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe5a4e commit edd0b3eCopy full SHA for edd0b3e
pex/installer.py
@@ -11,6 +11,7 @@
11
from pkg_resources import Distribution, PathMetadata
12
13
from .common import safe_mkdtemp, safe_rmtree
14
+from .compatibility import WINDOWS
15
from .interpreter import PythonInterpreter
16
from .tracer import TRACER
17
from .version import SETUPTOOLS_REQUIREMENT, WHEEL_REQUIREMENT
@@ -209,7 +210,10 @@ class Packager(DistributionPackager):
209
210
"""
211
212
def _setup_command(self):
- return ['sdist', '--formats=gztar', '--dist-dir=%s' % self._install_tmp]
213
+ if WINDOWS:
214
+ return ['sdist', '--formats=zip', '--dist-dir=%s' % self._install_tmp]
215
+ else:
216
+ return ['sdist', '--formats=gztar', '--dist-dir=%s' % self._install_tmp]
217
218
@after_installation
219
def sdist(self):
0 commit comments