pex
pex copied to clipboard
A library and tool for generating .pex (Python EXecutable) files
This is potentially related to #1093, but I'm filing it as a separate issue to avoid muddying the water if it isn't. On `example-python` at 72890abf9426c9744d9e2537f898fb6c2bb17216 (using Pants `2.0.0` and...
Using `pex` installed via `pip install pex`, I get this behavior: ``` pex --interpreter-constraint='CPython>=3.5' -- -c "import sys, os; print(os.path.realpath(sys.executable))" /Users/eric/.pyenv/versions/3.6.10/bin/python3.6 ``` ``` PEX_PYTHON_PATH=/Users/eric/.pyenv/versions/3.7.7/bin pex --interpreter-constraint='CPython>=3.5' -- -c "import sys,...
If a user has asked for `--resolve-local-platforms` we should probably include the fact that no local interpreter was found matching (some of) the platforms specified when rendering a resolve error...
In https://github.com/pantsbuild/pex/pull/1032#issuecomment-695337693, when we thought we would have to vendor the `typing` module from python 2, the concern was raised that this could affect runtime performance when importing the code...
As noted in https://github.com/pantsbuild/pex/issues/1054#issuecomment-703150138 Pex `--unzip` mode performance improvements are sensitive to import scope in the `__main__.py` injected in PEXes to bootstrap. We should ensure performance does not regress un-noticed....
Hello folks, Lastly I encountered an issue while deploying one of my application using pex caused by a weird import error for `setuptools._distutils`. I could reproduce the issue and discovered...
As discovered and explicated in #983, Pex currently performs a parallel download (resolve) for each interpreter in-play. When interpreters are selected via `--interpreter-constraint` this can lead to degeneracies in the...
As discovered and explicated in #983, Pex currently performs a parallel download (resolve) for each interpreter in-play. When interpreters are selected via `--interpreter-constraint` this can lead to degeneracies in the...
The idea would be able to say something like: ``` pex --inherit-path=prefer:setuptools --inherit-path=fallback:requests ``` IOW: the `--inherit-path` option becomes a list and it allows for whitelisting individual distributions, if named...
It might be nice to be able to write `-v9` when invoking pex on the command line instead of painstakingly typing out all 9 characters of `-vvvvvvvvv`.