Skip to content

Commit

Permalink
add platforms=['current'] to the dump_requiremnts() call
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicexplorer committed Aug 31, 2018
1 parent 61e9977 commit 163f0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/pants/binaries/executable_pex_tool.py
Expand Up @@ -50,6 +50,6 @@ def bootstrap(self, interpreter, pex_file_path, extra_reqs=None):
with safe_concurrent_creation(pex_file_path) as safe_path:
builder = PEXBuilder(interpreter=interpreter, pex_info=pex_info)
all_reqs = list(self.base_requirements) + list(extra_reqs or [])
dump_requirements(builder, interpreter, all_reqs, logger)
dump_requirements(builder, interpreter, all_reqs, logger, platforms=['current'])
builder.build(safe_path)
return PEX(pex_file_path, interpreter)

0 comments on commit 163f0b4

Please sign in to comment.