python

python packaging

%python_setup

Perform python setup and build with the default options

%python_install

Install python package to the destination directory

%pyproject_build

Build a wheel for python PEP517 projects

%pyproject_install

Install wheel to destination directory

%python_compile

Compile .pyc bytecode files from any miscellaneous .py files in the install directory.