Avoid hard dependency on supported-but-non-default Python interpreters (simpler version)
Based on !5 (closed), but with one more commit:
-
Simplify f2py wrappers by assuming all entry-point scripts are equivalent
Because the f2py executable is a generated entry-point script, the only part of its content that varies is the shebang line, so we don't need to install all the scripts into /usr/libexec and can simply use /usr/bin/f2py as the underlying implementation.
Again please see https://bugs.debian.org/945824 for discussion.
This version has a smaller diffstat, but should only be applied if you're confident that the generated entry-point scripts will continue to vary only by their shebang line.