pex

library for generating Python executable zip files

Install

All systems
curl cmd.cat/pex.sh
Debian Debian
apt-get install pex
Ubuntu
apt-get install pex
Windows (WSL2)
sudo apt-get update sudo apt-get install pex
OS X
brew install pex
Raspbian
apt-get install pex

pex

library for generating Python executable zip files

pex is a library for generating .pex (Python EXecutable) files which are executable Python environments in the spirit of virtualenvs. pex is an expansion upon the ideas outlined in PEP 441 and makes the deployment of Python applications as simple as cp. pex files may even include multiple platform-specific Python distributions, meaning that a single pex file can be portable across Linux and OS X. pex files can be built using the pex tool. Build systems such as Pants and Buck also support building .pex files directly. This is the command line package.