Skip to content

Commit

Permalink
Properly compile dynamics
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez authored Nov 12, 2023
1 parent f5cc9d6 commit e4afb29
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 1 deletion.
28 changes: 28 additions & 0 deletions src/sage/dynamics/arithmetic_dynamics/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
py.install_sources(
'affine_ds.py',
'all.py',
'berkovich_ds.py',
'dynamical_semigroup.py',
'endPN_automorphism_group.py',
'endPN_minimal_model.py',
'generic_ds.py',
'product_projective_ds.py',
'projective_ds.py',
'wehlerK3.py',
subdir: 'sage/dynamics/arithmetic_dynamics',
)

extension_data = {
'projective_ds_helper': files('projective_ds_helper.pyx'),
}

foreach name, pyx : extension_data
py.extension_module(name,
sources: pyx,
subdir: 'sage/dynamics/arithmetic_dynamics',
install: true,
include_directories: [],
dependencies: [py_dep, gmp],
)
endforeach

20 changes: 20 additions & 0 deletions src/sage/dynamics/complex_dynamics/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
py.install_sources(
'all.py',
'mandel_julia.py',
subdir: 'sage/dynamics/complex_dynamics',
)

extension_data = {
'mandel_julia_helper': files('mandel_julia_helper.pyx'),
}

foreach name, pyx : extension_data
py.extension_module(name,
sources: pyx,
subdir: 'sage/dynamics/complex_dynamics',
install: true,
include_directories: [],
dependencies: [py_dep, cysignals, gmp],
)
endforeach

11 changes: 11 additions & 0 deletions src/sage/dynamics/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
py.install_sources(
'all.py',
'finite_dynamical_system.py',
'finite_dynamical_system_catalog.py',
'surface_dynamics_deprecation.py',
subdir: 'sage/dynamics',
)

subdir('arithmetic_dynamics')
install_subdir('cellular_automata', install_dir: sage_install_dir / 'dynamics')
subdir('complex_dynamics')
2 changes: 1 addition & 1 deletion src/sage/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ sage_install_dir = py.get_install_dir() / 'sage'
no_processing = [
'databases',
'doctest',
'dynamics',
'features',
'game_theory',
'homology',
Expand Down Expand Up @@ -79,3 +78,4 @@ subdir('sets')
subdir('stats')
subdir('symbolic')
subdir('tests')
subdir('dynamics')

0 comments on commit e4afb29

Please sign in to comment.