#783 %pyX_build / _install etc. not listed in Python Macros
Closed: fixed 6 years ago Opened 6 years ago by churchyard.

At https://fedoraproject.org/wiki/Packaging:Python#Macros

%py2_build
%py2_install
%py3_build
%py3_install

Are not documented. Yet we use them in the example bellow.

I would just add them with:

Normal definition:

{__python2} setup.py build ...
{__python2} setup.py install --skip-build ...
{__python3} setup.py build ...
{__python3} setup.py install --skip-build ...

Notes:

Various flags are added, see /usr/lib/rpm/macros.d/macros.pythonX for details and similar macros. Define %py_setup_args to pass custom command line arguments to setup.py.


I would suggest just adding them.

Metadata Update from @churchyard:
- Issue assigned to churchyard

6 years ago

Metadata Update from @churchyard:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

6 years ago

Log in to comment on this ticket.

Metadata