Closed
Description
If the console script is housed in a dist that is platform-specific and the pex is multiplatform, then the same script is found more than once and pex creation fails with something like:
RuntimeError: Ambiguous script specification pants matches multiple entry points:pants = pants.bin.pants_loader:main pants = pants.bin.pants_loader:main
Pex should probably allow dups from a single requirement key if the found scripts are bytewise identical as they are in this example case.
See pantsbuild/pants#6349 for an example of getting bit by this.