135 |
%global dynload_dir %{pylibdir}/lib-dynload |
%global dynload_dir %{pylibdir}/lib-dynload |
136 |
|
|
137 |
# ABIFLAGS, LDVERSION and SOABI are in the upstream configure.ac |
# ABIFLAGS, LDVERSION and SOABI are in the upstream configure.ac |
138 |
# See PEP 3149 for some background: http://www.python.org/dev/peps/pep-3149/ |
# See PEP 3149 for some background: https://www.python.org/dev/peps/pep-3149/ |
139 |
%global ABIFLAGS_optimized %{nil} |
%global ABIFLAGS_optimized %{nil} |
140 |
|
|
141 |
%global LDVERSION_optimized %{pybasever}%{ABIFLAGS_optimized} |
%global LDVERSION_optimized %{pybasever}%{ABIFLAGS_optimized} |
148 |
|
|
149 |
# All bytecode files are in a __pycache__ subdirectory, with a name |
# All bytecode files are in a __pycache__ subdirectory, with a name |
150 |
# reflecting the version of the bytecode. |
# reflecting the version of the bytecode. |
151 |
# See PEP 3147: http://www.python.org/dev/peps/pep-3147/ |
# See PEP 3147: https://www.python.org/dev/peps/pep-3147/ |
152 |
# For example, |
# For example, |
153 |
# foo/bar.py |
# foo/bar.py |
154 |
# has bytecode at: |
# has bytecode at: |