Packaging/SUSE Macros/Python Macros
From openSUSE
< Packaging | SUSE Macros
Contents |
[edit]
Macros for Python packaging
[edit]
%py_incdir
This macro substitutes for the path where Python header files are installed, such as /usr/include/python%py_ver.
[edit]
%py_libdir
This macro substitutes for the path where Python modules are installed, such as /usr/lib/python%py_ver
[edit]
%py_requires
This macro substitutes for PreReq and BuildRequires tags. This defines dependency on the same python major version as it was used during building
[edit]
%py_ver
This macro substitutes for the Python major version, such as 2.5.

