How to Install and Uninstall pyproject-rpm-macros.noarch Package on CentOS Stream 8

Last updated: November 25,2024

1. Install "pyproject-rpm-macros.noarch" package

In this section, we are going to explain the necessary steps to install pyproject-rpm-macros.noarch on CentOS Stream 8

$ sudo dnf update $ sudo dnf install pyproject-rpm-macros.noarch

2. Uninstall "pyproject-rpm-macros.noarch" package

This is a short guide on how to uninstall pyproject-rpm-macros.noarch on CentOS Stream 8:

$ sudo dnf remove pyproject-rpm-macros.noarch $ sudo dnf autoremove

3. Information about the pyproject-rpm-macros.noarch package on CentOS Stream 8

Last metadata expiration check: 3:38:24 ago on Sun Feb 25 03:03:59 2024.
Available Packages
Name : pyproject-rpm-macros
Version : 0.1.8.0
Release : 2.el8
Architecture : noarch
Size : 38 k
Source : pyproject-rpm-macros-0.1.8.0-2.el8.src.rpm
Repository : epel
Summary : RPM macros for PEP 517 Python packages (minimal)
URL : https://src.fedoraproject.org/rpms/pyproject-rpm-macros
License : MIT
Description : These macros allow projects that follow the Python packaging specifications
: to be packaged as RPMs.
:
: They work for:
:
: * traditional Setuptools-based projects that use the setup.py file,
: * newer Setuptools-based projects that have a setup.cfg file,
: * general Python projects that use the PEP 517 pyproject.toml file
: (which allows using any build system, such as setuptools, flit or poetry).
:
: These macros replace %py3_build and %py3_install,
: which only work with setup.py.
:
: This is a slimmed down version of the macros that are available in Fedora,
: in order to be compatible with el8's RPM version.
: Notably, %tox and %pyproject_buildrequires are absent, so buildrequirements
: must be manually specified. It is only compatible with python38+.