From 377495dec1b203d186bfa2508c6b4ae18dd2a904 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Feb 02 2021 21:34:59 +0000 Subject: Document %{python3_ext_suffix} --- diff --git a/guidelines/modules/ROOT/pages/Python.adoc b/guidelines/modules/ROOT/pages/Python.adoc index 8fda94f..7917e77 100644 --- a/guidelines/modules/ROOT/pages/Python.adoc +++ b/guidelines/modules/ROOT/pages/Python.adoc @@ -358,6 +358,10 @@ The following macros are defined for you in all supported Fedora and EPEL releas |`+linux-x86_64+` on x86_64 |The platform name used in Python, useful for specifying `+$PYTHONPATH+`, such as `+PYTHONPATH=build/lib.%{python3_platform}-%{python3_version}+` +|`+%{python3_ext_suffix}+` +|`+.cpython-3X-x86_64-linux-gnu.so+` on x86_64 +|The usual suffix of Python extension modules, useful when listing files. Note that extension modules can alternatively have a simple `+.so+` suffix as well, depending on how they are built. + |`+%py3_build+` |`+%{__python3} setup.py build …+` |See `+%py3_install+` for passing arguments to `+setup.py build+` or directly to `+setup.py+`.