06-WPO-23Z-projekt-python/.env/lib/python3.11/site-packages/numpy/f2py/_backends/__init__.py

10 lines
299 B
Python
Raw Normal View History

def f2py_build_generator(name):
if name == "meson":
from ._meson import MesonBackend
return MesonBackend
elif name == "distutils":
from ._distutils import DistutilsBackend
return DistutilsBackend
else:
raise ValueError(f"Unknown backend: {name}")