RPM macros for PEP 517 Python packages
334.01 KB
built 2026-10-12 07:09:22 GMT
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.
Dependencies
19 totalRequires17
- (python3dist(tomli) if python3 < 3.11)
- (python3dist(wheel) if python3dist(setuptools) < 71)
- python-rpm-macros
- python-srpm-macros
- python3-rpm-macros
- python3dist(packaging)
- python3dist(pip)
- python3dist(pytest)
- python3dist(pytest-xdist)
- python3dist(pyyaml)
- python3dist(setuptools)
- python3dist(tox-current-env) >= 0.0.16
- rpm-build >= 4.14.90
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(RichDependencies) <= 4.12.0-1
Provides2
- pyproject-rpm-macros = 1.23.2-1.fc45
- pyproject-srpm-macros = 1.23.2-1.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
25Name ![]() |
Size |
|---|---|
| LICENSE | 1.05 KB |
| README.md | 33.25 KB |
| compare_mandata.py | 2.74 KB |
| macros.aaa-pyproject-srpm | 2.35 KB |
| macros.pyproject | 16.29 KB |
| pyproject-rpm-macros.spec | 28.46 KB |
| pyproject_buildrequires.py | 34.18 KB |
| pyproject_buildrequires_testcases.yaml | 50.15 KB |
| pyproject_convert.py | 6.54 KB |
| pyproject_dependency_overrides.py | 5.30 KB |
| pyproject_getopt.lua | 10.14 KB |
| pyproject_patch_metadata.py | 3.92 KB |
| pyproject_preprocess_record.py | 2.89 KB |
| pyproject_requirements_txt.py | 3.45 KB |
| pyproject_save_files.py | 36.69 KB |
| pyproject_save_files_test_data.yaml | 1.72 MB |
| pyproject_wheel.py | 2.57 KB |
| test_RECORD | 816.00 B |
| test_dependency_overrides.py | 22.00 KB |
| test_pyproject_buildrequires.py | 4.53 KB |
| test_pyproject_getopt.lua | 18.78 KB |
| test_pyproject_getopt_consistency.py | 4.91 KB |
| test_pyproject_getopt_parser.py | 3.16 KB |
| test_pyproject_requirements_txt.py | 2.32 KB |
| test_pyproject_save_files.py | 12.38 KB |
Files 1–25 of 25
Component of
buildroots that installed this RPMNo Buildroots
