pex-tool / pex

A tool for generating .pex (Python EXecutable) files, lock files and venvs.
https://docs.pex-tool.org/
Apache License 2.0
2.52k stars 258 forks source link

Update the documentation to make the pip freeze method in README to work #2463

Closed cpjames-prog closed 1 month ago

cpjames-prog commented 1 month ago

Very minor change to correct non-functioning command in docs.

Expected:

A file called my_virtualenv.pex in the current directory.

Actual:

usage: pex [-o OUTPUT.PEX] [options] [-- arg1 arg2 ...]

pex builds a PEX (Python Executable) file based on the given specification ...
jsirois commented 1 month ago

@cpjames-prog thanks for the effort here, but I'm thinking you must have some ancient version of Pex to encounter a failure using pex $(pip freeze) .... The command line help you reference is certainly unfamiliar.

cpjames-prog commented 1 month ago

@jsirois Yes, I think you're right. I was playing with environments and don't remember where I ran this. I didn't check my work 😅

I'll close this now. Thank you