Installing with pip

To install py2app using pip, or to upgrade to the latest released version of py2app:

$ pip3 install -U py2app

Setuptools support in py2app is optional, to force the installation of setuptools install the setuptools extra:

$ pip install -U 'py2app[setuptools]'

Note that setuptools is installed by default in most Python installations and virtual environments, which means that the default installation command will likely work even when using the legacy setuptools interface of py2app.

Installing from source

The preferred way to install py2app from source is to invoke pip in the root of the py2app source directory:

$ pip install .