File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -534,11 +534,14 @@ pex
534
534
`GitHub <https://github.com/pantsbuild/pex/ >`__ |
535
535
`PyPI <https://pypi.org/project/pex >`__
536
536
537
- pex is both a library and tool for generating :file: `.pex ` (Python EXecutable)
537
+ Pex is a tool for generating :file: `.pex ` (Python EXecutable)
538
538
files, standalone Python environments in the spirit of :ref: `virtualenv `.
539
- :file: `.pex ` files are just carefully constructed zip files with a
540
- ``#!/usr/bin/env python `` and special :file: `__main__.py `, and are designed to
541
- make deployment of Python applications as simple as ``cp ``.
539
+ PEX files are :doc: `zipapps <python:library/zipapp >` that
540
+ make deployment of Python applications as simple as ``cp ``. A single PEX
541
+ file can support multiple target platforms and can be created from standard
542
+ :ref: `pip `-resolvable requirements, a lockfile generated with ``pex3 lock ... ``
543
+ or even another PEX. PEX files can optionally have tools embedded that support
544
+ turning the PEX file into a standard venv, graphing dependencies and more.
542
545
543
546
.. _pip-tools :
544
547
You can’t perform that action at this time.
0 commit comments