-
-
Save stuhood/29082674e1558fbc111824a8e0ebbfb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ~/src/venvs/pex-2.1.50-py36/bin/pex-tools file venv --help | |
usage: pex-tools PATH venv [-h] [-b {false,prepend,append}] [-f] | |
[--collisions-ok] [-p] [--copies] [--compile] | |
PATH | |
Creates a venv from the PEX file. | |
positional arguments: | |
PATH The directory to create the virtual environment in. | |
optional arguments: | |
-h, --help show this help message and exit | |
-b {false,prepend,append}, --bin-path {false,prepend,append} | |
Add the venv bin dir to the PATH in the __main__.py | |
script. (default: false) | |
-f, --force If the venv directory already exists, overwrite it. | |
(default: False) | |
--collisions-ok Don't error if population of the venv encounters | |
distributions in the PEX file with colliding files, | |
just emit a warning. (default: False) | |
-p, --pip Add pip to the venv. (default: False) | |
--copies Create the venv using copies of system files instead | |
of symlinks (default: False) | |
--compile Compile all `.py` files in the venv. (default: False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment