The unversioned Python RPM macros
Go to file
Karolina Surma 20a3073f02 Use sysconfig.get_path() to define %python_sitelib and %python_sitearch
Distutils which were used to define the macros are deprecated in Python3.10:
https://www.python.org/dev/peps/pep-0632/.
Sysconfig isn't and it works across our Pythons, making it better choice for the task.

Related: rhbz#1950291
2021-04-22 18:29:53 +02:00
tests Use sysconfig.get_path() to define %python_sitelib and %python_sitearch 2021-04-22 18:29:53 +02:00
.gitignore New branch setup 2020-10-08 23:33:09 +00:00
compileall2.py RHEL 9.0.0 Alpha bootstrap 2020-10-14 20:10:31 -07:00
macros.pybytecompile RHEL 9.0.0 Alpha bootstrap 2020-10-14 20:10:31 -07:00
macros.python Use sysconfig.get_path() to define %python_sitelib and %python_sitearch 2021-04-22 18:29:53 +02:00
macros.python3 Use sysconfig.get_path() to define %python_sitelib and %python_sitearch 2021-04-22 18:29:53 +02:00
macros.python-srpm Allow commas as argument separator for extras names in %python_extras_subpkg 2021-04-22 18:28:04 +02:00
python-rpm-macros.spec Use sysconfig.get_path() to define %python_sitelib and %python_sitearch 2021-04-22 18:29:53 +02:00
python.lua Update comment for python_altnames() to reflect the reality 2021-04-22 18:25:28 +02:00
sources RHEL 9.0.0 Alpha bootstrap 2020-10-14 20:10:31 -07:00