Skip to content

Commit 81fd728

Browse files
committed
MAINT: Add meson.build for f2py
Should address numpy#22225 (comment)
1 parent 72fb100 commit 81fd728

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

numpy/f2py/meson.build

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
py.install_sources(
2+
[
3+
'src/fortranobject.c',
4+
'src/fortranobject.h',
5+
],
6+
subdir: 'numpy/f2py/src'
7+
)
8+
9+
py.install_sources(
10+
[
11+
'_backends/meson.build.template',
12+
],
13+
subdir: 'numpy/f2py/_backends'
14+
)

numpy/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,3 +362,4 @@ subdir('core')
362362
subdir('fft')
363363
subdir('linalg')
364364
subdir('random')
365+
subdir('f2py')

0 commit comments

Comments
 (0)