Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions cherab/core/atomic/data/lineshape/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
target_path = 'cherab/core/atomic/data/lineshape'

# source files
py_files = []
pyx_files = []
pxd_files = []
data_files = []

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)

subdir('stark')
subdir('zeeman')
26 changes: 26 additions & 0 deletions cherab/core/atomic/data/lineshape/stark/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
target_path = 'cherab/core/atomic/data/lineshape/stark'

# source files
py_files = []
pyx_files = []
pxd_files = []
data_files = ['d.json', 'h.json', 't.json']

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)
28 changes: 28 additions & 0 deletions cherab/core/atomic/data/lineshape/zeeman/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
target_path = 'cherab/core/atomic/data/lineshape/zeeman'

# source files
py_files = []
pyx_files = []
pxd_files = []
data_files = []

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)

subdir('parametrised')
26 changes: 26 additions & 0 deletions cherab/core/atomic/data/lineshape/zeeman/parametrised/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
target_path = 'cherab/core/atomic/data/lineshape/zeeman/parametrised'

# source files
py_files = []
pyx_files = []
pxd_files = []
data_files = ['b.json', 'be.json', 'c.json', 'd.json', 'h.json', 'he.json', 'he3.json', 'n.json', 'ne.json', 'o.json']

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)
28 changes: 28 additions & 0 deletions cherab/core/atomic/data/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
target_path = 'cherab/core/atomic/data'

# source files
py_files = []
pyx_files = []
pxd_files = []
data_files = ['maxwellian_free_free_gaunt_factor.json']

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)

subdir('lineshape')
29 changes: 29 additions & 0 deletions cherab/core/atomic/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
target_path = 'cherab/core/atomic'

# source files
py_files = ['__init__.py']
pyx_files = ['elements.pyx', 'gaunt.pyx', 'interface.pyx', 'line.pyx', 'rates.pyx', 'zeeman.pyx']
pxd_files = ['__init__.pxd', 'elements.pxd', 'gaunt.pxd', 'interface.pxd', 'line.pxd', 'rates.pxd', 'zeeman.pxd']
data_files = []

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)

subdir('data')
subdir('tests')
26 changes: 26 additions & 0 deletions cherab/core/atomic/tests/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
target_path = 'cherab/core/atomic/tests'

# source files
py_files = ['__init__.py', 'test_line.py', 'test_zeeman.py']
pyx_files = []
pxd_files = []
data_files = []

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)
26 changes: 26 additions & 0 deletions cherab/core/beam/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
target_path = 'cherab/core/beam'

# source files
py_files = ['__init__.py']
pyx_files = ['material.pyx', 'model.pyx', 'node.pyx']
pxd_files = ['__init__.pxd', 'material.pxd', 'model.pxd', 'node.pxd']
data_files = []

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)
28 changes: 28 additions & 0 deletions cherab/core/laser/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
target_path = 'cherab/core/laser'

# source files
py_files = ['__init__.py']
pyx_files = ['laserspectrum.pyx', 'material.pyx', 'model.pyx', 'node.pyx', 'profile.pyx']
pxd_files = ['__init__.pxd', 'laserspectrum.pxd', 'material.pxd', 'model.pxd', 'node.pxd', 'profile.pxd']
data_files = []

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)

subdir('tests')
26 changes: 26 additions & 0 deletions cherab/core/laser/tests/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
target_path = 'cherab/core/laser/tests'

# source files
py_files = ['__init__.py', 'test_laser.py', 'test_laserspectrum.py']
pyx_files = []
pxd_files = []
data_files = []

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)
28 changes: 28 additions & 0 deletions cherab/core/math/caching/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
target_path = 'cherab/core/math/caching'

# source files
py_files = ['__init__.py', 'utility.py']
pyx_files = ['caching1d.pyx', 'caching2d.pyx', 'caching3d.pyx']
pxd_files = ['__init__.pxd', 'caching1d.pxd', 'caching2d.pxd', 'caching3d.pxd']
data_files = []

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)

subdir('tests')
26 changes: 26 additions & 0 deletions cherab/core/math/caching/tests/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
target_path = 'cherab/core/math/caching/tests'

# source files
py_files = ['__init__.py', 'test_caching1d.py', 'test_caching2d.py', 'test_caching3d.py']
pyx_files = []
pxd_files = []
data_files = []

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)
28 changes: 28 additions & 0 deletions cherab/core/math/function/float/function6d/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
target_path = 'cherab/core/math/function/float/function6d'

# source files
py_files = ['__init__.py']
pyx_files = ['arg.pyx', 'autowrap.pyx', 'base.pyx', 'blend.pyx', 'cmath.pyx', 'constant.pyx']
pxd_files = ['__init__.pxd', 'arg.pxd', 'autowrap.pxd', 'base.pxd', 'blend.pxd', 'cmath.pxd', 'constant.pxd']
data_files = []

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)

subdir('tests')
26 changes: 26 additions & 0 deletions cherab/core/math/function/float/function6d/tests/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
target_path = 'cherab/core/math/function/float/function6d/tests'

# source files
py_files = ['__init__.py', 'test_arg.py', 'test_autowrap.py', 'test_base.py', 'test_cmath.py', 'test_constant.py']
pyx_files = []
pxd_files = []
data_files = []

# compile cython
foreach pyx_file: pyx_files
py.extension_module(
fs.replace_suffix(pyx_file, ''),
pyx_file,
dependencies: cython_dependencies,
install: true,
subdir: target_path,
cython_args: cython_args,
c_args: c_args,
)
endforeach

# add python, pxd and data files to the build
py.install_sources(
py_files + pxd_files + data_files,
subdir: target_path
)
Loading
Loading