File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed
Original file line number Diff line number Diff line change 28
28
from . import f90mod_rules
29
29
from . import __version__
30
30
from . import capi_maps
31
- from . import _backends
31
+ from numpy . f2py . _backends import f2py_build_generator
32
32
33
33
f2py_version = __version__ .version
34
34
numpy_version = __version__ .version
@@ -598,7 +598,7 @@ def run_compile():
598
598
sys .argv .pop (backend_index )
599
599
else :
600
600
backend_key = 'distutils'
601
- build_backend = _backends . f2py_build_generator (backend_key )
601
+ build_backend = f2py_build_generator (backend_key )
602
602
603
603
modulename = 'untitled'
604
604
sources = sys .argv [1 :]
Original file line number Diff line number Diff line change 26
26
def configuration (parent_package = '' , top_path = None ):
27
27
config = Configuration ('f2py' , parent_package , top_path )
28
28
config .add_subpackage ('tests' )
29
+ config .add_subpackage ('_backends' )
29
30
config .add_data_dir ('tests/src' )
30
31
config .add_data_files (
31
32
'src/fortranobject.c' ,
32
- 'src/fortranobject.h' )
33
+ 'src/fortranobject.h' ,
34
+ 'backends/src/meson.build.src' ,
35
+ )
33
36
config .add_data_files ('*.pyi' )
34
37
return config
35
38
You can’t perform that action at this time.
0 commit comments