From 8a8732275cb4c28a7ece40d80304a57ac9fe41b0 Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Mon, 25 Aug 2025 18:15:42 +0200 Subject: [PATCH 1/5] Install pyx sources in sage/libs --- src/sage/libs/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/sage/libs/meson.build b/src/sage/libs/meson.build index bff6a2f15b9..9d2632ebae5 100644 --- a/src/sage/libs/meson.build +++ b/src/sage/libs/meson.build @@ -134,6 +134,10 @@ foreach name, pyx : extension_data include_directories: [inc_cpython, inc_rings], dependencies: deps, ) + py.install_sources( + pyx, + subdir: 'sage/libs', + ) endforeach extension_data_cpp = { @@ -157,6 +161,10 @@ foreach name, pyx : extension_data_cpp include_directories: [inc_cpython, inc_rings], dependencies: deps, ) + py.install_sources( + pyx, + subdir: 'sage/libs', + ) endforeach subdir('arb') From 736ea4252998e11edbe6bf1f065e2f4b00c4c8d7 Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Tue, 26 Aug 2025 11:38:42 +0200 Subject: [PATCH 2/5] Revert "Install pyx sources in sage/libs" This reverts commit 8a8732275cb4c28a7ece40d80304a57ac9fe41b0. --- src/sage/libs/meson.build | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/sage/libs/meson.build b/src/sage/libs/meson.build index 9d2632ebae5..bff6a2f15b9 100644 --- a/src/sage/libs/meson.build +++ b/src/sage/libs/meson.build @@ -134,10 +134,6 @@ foreach name, pyx : extension_data include_directories: [inc_cpython, inc_rings], dependencies: deps, ) - py.install_sources( - pyx, - subdir: 'sage/libs', - ) endforeach extension_data_cpp = { @@ -161,10 +157,6 @@ foreach name, pyx : extension_data_cpp include_directories: [inc_cpython, inc_rings], dependencies: deps, ) - py.install_sources( - pyx, - subdir: 'sage/libs', - ) endforeach subdir('arb') From 9119b29d39d67727628d3cdb0f2a0e84c511afdc Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Tue, 26 Aug 2025 11:43:45 +0200 Subject: [PATCH 3/5] Modify update-meson to install pyx sources --- .../finite_dimensional_algebras/meson.build | 2 +- src/sage/algebras/fusion_rings/meson.build | 5 ++- src/sage/algebras/letterplace/meson.build | 4 +- src/sage/algebras/lie_algebras/meson.build | 2 +- src/sage/algebras/meson.build | 4 +- src/sage/algebras/quatalg/meson.build | 3 +- src/sage/arith/meson.build | 7 ++- src/sage/calculus/meson.build | 7 ++- src/sage/calculus/transforms/meson.build | 3 +- src/sage/categories/examples/meson.build | 2 +- src/sage/categories/meson.build | 8 +++- src/sage/coding/codecan/meson.build | 3 +- src/sage/coding/meson.build | 4 +- src/sage/combinat/crystals/meson.build | 5 ++- src/sage/combinat/designs/meson.build | 6 ++- src/sage/combinat/integer_lists/meson.build | 2 + src/sage/combinat/matrices/meson.build | 2 +- src/sage/combinat/meson.build | 12 +++++- src/sage/combinat/posets/meson.build | 4 +- .../rigged_configurations/meson.build | 2 +- src/sage/combinat/root_system/meson.build | 4 +- src/sage/combinat/words/meson.build | 3 +- src/sage/cpython/meson.build | 8 ++++ src/sage/crypto/meson.build | 2 + src/sage/data_structures/meson.build | 8 +++- .../dynamics/arithmetic_dynamics/meson.build | 2 +- .../dynamics/complex_dynamics/meson.build | 2 +- src/sage/dynamics/meson.build | 1 - src/sage/ext/meson.build | 4 +- src/sage/functions/meson.build | 2 +- src/sage/games/meson.build | 2 +- src/sage/geometry/meson.build | 7 ++- .../combinatorial_polyhedron/meson.build | 8 +++- src/sage/geometry/polyhedron/meson.build | 1 - src/sage/geometry/triangulation/meson.build | 2 +- src/sage/graphs/base/meson.build | 9 +++- src/sage/graphs/generators/meson.build | 2 +- .../graphs/graph_decompositions/meson.build | 12 +++++- src/sage/graphs/meson.build | 29 ++++++++++++- src/sage/groups/matrix_gps/meson.build | 3 +- src/sage/groups/meson.build | 3 +- src/sage/groups/perm_gps/meson.build | 2 +- .../groups/perm_gps/partn_ref/meson.build | 11 ++++- .../groups/perm_gps/partn_ref2/meson.build | 2 +- .../semimonomial_transformations/meson.build | 2 +- src/sage/interacts/meson.build | 2 +- src/sage/interfaces/meson.build | 3 +- src/sage/lfunctions/meson.build | 2 +- src/sage/libs/arb/meson.build | 1 + src/sage/libs/coxeter3/meson.build | 1 + src/sage/libs/eclib/meson.build | 4 ++ src/sage/libs/flint/meson.build | 11 +++++ src/sage/libs/gap/meson.build | 4 +- src/sage/libs/gmp/meson.build | 1 + src/sage/libs/gsl/meson.build | 1 + src/sage/libs/lcalc/meson.build | 1 + src/sage/libs/linbox/meson.build | 1 + src/sage/libs/meson.build | 7 ++- src/sage/libs/mpmath/meson.build | 4 ++ src/sage/libs/ntl/meson.build | 21 +++++++++ src/sage/libs/pari/meson.build | 8 ++++ src/sage/libs/singular/meson.build | 6 +++ src/sage/libs/symmetrica/meson.build | 7 ++- src/sage/matrix/meson.build | 43 ++++++++++++++++++- src/sage/matroids/meson.build | 15 ++++++- src/sage/meson.build | 1 - src/sage/misc/meson.build | 33 +++++++++++++- src/sage/modular/arithgroup/meson.build | 4 +- src/sage/modular/meson.build | 2 +- src/sage/modular/modform/meson.build | 3 +- src/sage/modular/modsym/meson.build | 6 ++- src/sage/modular/pollack_stevens/meson.build | 2 +- src/sage/modules/meson.build | 17 +++++++- src/sage/modules/with_basis/meson.build | 2 +- src/sage/monoids/meson.build | 2 +- src/sage/numerical/backends/meson.build | 13 +++++- src/sage/numerical/meson.build | 6 ++- src/sage/plot/meson.build | 2 +- src/sage/plot/plot3d/meson.build | 7 ++- src/sage/probability/meson.build | 2 +- src/sage/quadratic_forms/meson.build | 4 +- src/sage/quivers/meson.build | 3 +- src/sage/rings/convert/meson.build | 2 +- src/sage/rings/finite_rings/meson.build | 14 +++++- src/sage/rings/function_field/meson.build | 6 ++- src/sage/rings/meson.build | 39 ++++++++++++++++- src/sage/rings/number_field/meson.build | 8 +++- src/sage/rings/padics/meson.build | 31 ++++++++++++- src/sage/rings/polynomial/meson.build | 34 ++++++++++++++- src/sage/rings/polynomial/pbori/meson.build | 1 + src/sage/rings/polynomial/weil/meson.build | 2 +- src/sage/rings/semirings/meson.build | 2 +- src/sage/sat/meson.build | 7 +-- src/sage/sat/solvers/meson.build | 1 + src/sage/schemes/elliptic_curves/meson.build | 4 +- .../schemes/hyperelliptic_curves/meson.build | 2 +- src/sage/schemes/meson.build | 7 +-- src/sage/schemes/toric/meson.build | 2 +- src/sage/sets/meson.build | 6 ++- src/sage/stats/distributions/meson.build | 2 +- src/sage/stats/hmm/meson.build | 5 ++- src/sage/stats/meson.build | 3 +- src/sage/structure/meson.build | 19 ++++++++ src/sage/symbolic/meson.build | 4 +- src/sage/tests/meson.build | 2 + tools/update-meson.py | 2 +- 106 files changed, 577 insertions(+), 98 deletions(-) diff --git a/src/sage/algebras/finite_dimensional_algebras/meson.build b/src/sage/algebras/finite_dimensional_algebras/meson.build index 85f04b2afcb..67634821da6 100644 --- a/src/sage/algebras/finite_dimensional_algebras/meson.build +++ b/src/sage/algebras/finite_dimensional_algebras/meson.build @@ -1,8 +1,8 @@ py.install_sources( - '__init__.py', 'all.py', 'finite_dimensional_algebra.py', 'finite_dimensional_algebra_element.pxd', + 'finite_dimensional_algebra_element.pyx', 'finite_dimensional_algebra_ideal.py', 'finite_dimensional_algebra_morphism.py', subdir: 'sage/algebras/finite_dimensional_algebras', diff --git a/src/sage/algebras/fusion_rings/meson.build b/src/sage/algebras/fusion_rings/meson.build index 567b55de8ee..f1dbb811de4 100644 --- a/src/sage/algebras/fusion_rings/meson.build +++ b/src/sage/algebras/fusion_rings/meson.build @@ -1,13 +1,16 @@ py.install_sources( - '__init__.py', 'all.py', 'f_matrix.py', 'fast_parallel_fmats_methods.pxd', + 'fast_parallel_fmats_methods.pyx', 'fast_parallel_fusion_ring_braid_repn.pxd', + 'fast_parallel_fusion_ring_braid_repn.pyx', 'fusion_double.py', 'fusion_ring.py', 'poly_tup_engine.pxd', + 'poly_tup_engine.pyx', 'shm_managers.pxd', + 'shm_managers.pyx', subdir: 'sage/algebras/fusion_rings', ) diff --git a/src/sage/algebras/letterplace/meson.build b/src/sage/algebras/letterplace/meson.build index 3e429eb420a..1888e429ee6 100644 --- a/src/sage/algebras/letterplace/meson.build +++ b/src/sage/algebras/letterplace/meson.build @@ -1,8 +1,10 @@ py.install_sources( - '__init__.py', 'all.py', 'free_algebra_element_letterplace.pxd', + 'free_algebra_element_letterplace.pyx', 'free_algebra_letterplace.pxd', + 'free_algebra_letterplace.pyx', + 'letterplace_ideal.pyx', subdir: 'sage/algebras/letterplace', ) diff --git a/src/sage/algebras/lie_algebras/meson.build b/src/sage/algebras/lie_algebras/meson.build index 754d8729fbb..c0867e30814 100644 --- a/src/sage/algebras/lie_algebras/meson.build +++ b/src/sage/algebras/lie_algebras/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'abelian.py', 'affine_lie_algebra.py', 'all.py', @@ -13,6 +12,7 @@ py.install_sources( 'heisenberg.py', 'lie_algebra.py', 'lie_algebra_element.pxd', + 'lie_algebra_element.pyx', 'morphism.py', 'nilpotent_lie_algebra.py', 'onsager.py', diff --git a/src/sage/algebras/meson.build b/src/sage/algebras/meson.build index bad93c41abf..11b306b1ecd 100644 --- a/src/sage/algebras/meson.build +++ b/src/sage/algebras/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'affine_nil_temperley_lieb.py', 'all.py', 'askey_wilson.py', @@ -8,10 +7,12 @@ py.install_sources( 'cellular_basis.py', 'clifford_algebra.py', 'clifford_algebra_element.pxd', + 'clifford_algebra_element.pyx', 'cluster_algebra.py', 'commutative_dga.py', 'down_up_algebra.py', 'exterior_algebra_groebner.pxd', + 'exterior_algebra_groebner.pyx', 'finite_gca.py', 'free_algebra.py', 'free_algebra_element.py', @@ -24,6 +25,7 @@ py.install_sources( 'jordan_algebra.py', 'nil_coxeter_algebra.py', 'octonion_algebra.pxd', + 'octonion_algebra.pyx', 'orlik_solomon.py', 'orlik_terao.py', 'q_commuting_polynomials.py', diff --git a/src/sage/algebras/quatalg/meson.build b/src/sage/algebras/quatalg/meson.build index 25c4adfc46c..55a751b40b0 100644 --- a/src/sage/algebras/quatalg/meson.build +++ b/src/sage/algebras/quatalg/meson.build @@ -1,8 +1,9 @@ py.install_sources( - '__init__.py', 'all.py', 'quaternion_algebra.py', + 'quaternion_algebra_cython.pyx', 'quaternion_algebra_element.pxd', + 'quaternion_algebra_element.pyx', subdir: 'sage/algebras/quatalg', ) diff --git a/src/sage/arith/meson.build b/src/sage/arith/meson.build index 500b49edf85..74549ce95d8 100644 --- a/src/sage/arith/meson.build +++ b/src/sage/arith/meson.build @@ -1,15 +1,20 @@ py.install_sources( - '__init__.py', 'all.py', 'all__sagemath_objects.py', 'constants.pxd', 'functions.pxd', + 'functions.pyx', 'long.pxd', 'misc.py', 'multi_modular.pxd', + 'multi_modular.pyx', 'numerical_approx.pxd', + 'numerical_approx.pyx', 'power.pxd', + 'power.pyx', 'rational_reconstruction.pxd', + 'rational_reconstruction.pyx', + 'srange.pyx', subdir: 'sage/arith', ) diff --git a/src/sage/calculus/meson.build b/src/sage/calculus/meson.build index 63d35e7e5bf..69da6a0741e 100644 --- a/src/sage/calculus/meson.build +++ b/src/sage/calculus/meson.build @@ -1,16 +1,21 @@ py.install_sources( - '__init__.py', 'all.py', 'calculus.py', 'desolvers.py', 'expr.py', 'functional.py', 'functions.py', + 'integration.pyx', 'interpolation.pxd', + 'interpolation.pyx', + 'interpolators.pyx', 'ode.pxd', + 'ode.pyx', 'predefined.py', + 'riemann.pyx', 'test_sympy.py', 'tests.py', + 'var.pyx', 'wester.py', subdir: 'sage/calculus', ) diff --git a/src/sage/calculus/transforms/meson.build b/src/sage/calculus/transforms/meson.build index 11ffa9f8ec1..f1b48ed0f56 100644 --- a/src/sage/calculus/transforms/meson.build +++ b/src/sage/calculus/transforms/meson.build @@ -1,9 +1,10 @@ py.install_sources( - '__init__.py', 'all.py', 'dft.py', 'dwt.pxd', + 'dwt.pyx', 'fft.pxd', + 'fft.pyx', subdir: 'sage/calculus/transforms', ) diff --git a/src/sage/categories/examples/meson.build b/src/sage/categories/examples/meson.build index 966962d1b7d..f3541f824eb 100644 --- a/src/sage/categories/examples/meson.build +++ b/src/sage/categories/examples/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'algebras_with_basis.py', 'all.py', 'commutative_additive_monoids.py', @@ -29,6 +28,7 @@ py.install_sources( 'monoids.py', 'posets.py', 'semigroups.py', + 'semigroups_cython.pyx', 'semirings.py', 'sets_cat.py', 'sets_with_grading.py', diff --git a/src/sage/categories/meson.build b/src/sage/categories/meson.build index 642cee8e9e7..37aa35f6c50 100644 --- a/src/sage/categories/meson.build +++ b/src/sage/categories/meson.build @@ -1,6 +1,6 @@ py.install_sources( - '__init__.py', 'action.pxd', + 'action.pyx', 'additive_groups.py', 'additive_magmas.py', 'additive_monoids.py', @@ -22,13 +22,16 @@ py.install_sources( 'cartesian_product.py', 'category.py', 'category_cy_helper.pxd', + 'category_cy_helper.pyx', 'category_singleton.pxd', + 'category_singleton.pyx', 'category_types.py', 'category_with_axiom.py', 'chain_complexes.py', 'classical_crystals.py', 'coalgebras.py', 'coalgebras_with_basis.py', + 'coercion_methods.pyx', 'commutative_additive_groups.py', 'commutative_additive_monoids.py', 'commutative_additive_semigroups.py', @@ -88,6 +91,7 @@ py.install_sources( 'finitely_generated_semigroups.py', 'function_fields.py', 'functor.pxd', + 'functor.pyx', 'g_sets.py', 'gcd_domains.py', 'generalized_coxeter_groups.py', @@ -137,6 +141,7 @@ py.install_sources( 'magmatic_algebras.py', 'manifolds.py', 'map.pxd', + 'map.pyx', 'matrix_algebras.py', 'metric_spaces.py', 'modular_abelian_varieties.py', @@ -145,6 +150,7 @@ py.install_sources( 'monoid_algebras.py', 'monoids.py', 'morphism.pxd', + 'morphism.pyx', 'noetherian_rings.py', 'number_fields.py', 'objects.py', diff --git a/src/sage/coding/codecan/meson.build b/src/sage/coding/codecan/meson.build index 1ccaca09b2a..cc580108176 100644 --- a/src/sage/coding/codecan/meson.build +++ b/src/sage/coding/codecan/meson.build @@ -1,7 +1,8 @@ py.install_sources( - '__init__.py', 'all.py', + 'autgroup_can_label.pyx', 'codecan.pxd', + 'codecan.pyx', subdir: 'sage/coding/codecan', ) diff --git a/src/sage/coding/meson.build b/src/sage/coding/meson.build index b311c8df5d5..332aa592e97 100644 --- a/src/sage/coding/meson.build +++ b/src/sage/coding/meson.build @@ -1,10 +1,11 @@ py.install_sources( - '__init__.py', 'abstract_code.py', 'ag_code.py', + 'ag_code_decoders.pyx', 'all.py', 'bch_code.py', 'binary_code.pxd', + 'binary_code.pyx', 'bounds_catalog.py', 'channel.py', 'channels_catalog.py', @@ -26,6 +27,7 @@ py.install_sources( 'guava.py', 'hamming_code.py', 'information_set_decoder.py', + 'kasami_codes.pyx', 'linear_code.py', 'linear_code_no_metric.py', 'linear_rank_metric.py', diff --git a/src/sage/combinat/crystals/meson.build b/src/sage/combinat/crystals/meson.build index 5c6b864d04a..a56e40b4e20 100644 --- a/src/sage/combinat/crystals/meson.build +++ b/src/sage/combinat/crystals/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'affine.py', 'affine_factorization.py', 'affinization.py', @@ -23,18 +22,22 @@ py.install_sources( 'kirillov_reshetikhin.py', 'kyoto_path_model.py', 'letters.pxd', + 'letters.pyx', 'littelmann_path.py', 'monomial_crystals.py', 'multisegments.py', 'mv_polytopes.py', 'pbw_crystal.py', 'pbw_datum.pxd', + 'pbw_datum.pyx', 'polyhedral_realization.py', 'spins.pxd', + 'spins.pyx', 'star_crystal.py', 'subcrystal.py', 'tensor_product.py', 'tensor_product_element.pxd', + 'tensor_product_element.pyx', 'virtual_crystal.py', subdir: 'sage/combinat/crystals', ) diff --git a/src/sage/combinat/designs/meson.build b/src/sage/combinat/designs/meson.build index 019b62be54e..e2bcec04806 100644 --- a/src/sage/combinat/designs/meson.build +++ b/src/sage/combinat/designs/meson.build @@ -1,6 +1,5 @@ py.install_sources( 'MOLS_handbook_data.py', - '__init__.py', 'all.py', 'bibd.py', 'block_design.py', @@ -9,16 +8,21 @@ py.install_sources( 'database.py', 'design_catalog.py', 'designs_pyx.pxd', + 'designs_pyx.pyx', 'difference_family.py', 'difference_matrices.py', + 'evenly_distributed_sets.pyx', 'ext_rep.py', + 'gen_quadrangles_with_spread.pyx', 'group_divisible_designs.py', 'incidence_structures.py', 'latin_squares.py', 'orthogonal_arrays.py', 'orthogonal_arrays_build_recursive.py', + 'orthogonal_arrays_find_recursive.pyx', 'resolvable_bibd.py', 'steiner_quadruple_systems.py', + 'subhypergraph_search.pyx', 'twographs.py', subdir: 'sage/combinat/designs', ) diff --git a/src/sage/combinat/integer_lists/meson.build b/src/sage/combinat/integer_lists/meson.build index ac9aab23386..cf3521f832c 100644 --- a/src/sage/combinat/integer_lists/meson.build +++ b/src/sage/combinat/integer_lists/meson.build @@ -1,7 +1,9 @@ py.install_sources( '__init__.py', 'base.pxd', + 'base.pyx', 'invlex.pxd', + 'invlex.pyx', 'lists.py', 'nn.py', subdir: 'sage/combinat/integer_lists', diff --git a/src/sage/combinat/matrices/meson.build b/src/sage/combinat/matrices/meson.build index d316252bca0..58cb4da89af 100644 --- a/src/sage/combinat/matrices/meson.build +++ b/src/sage/combinat/matrices/meson.build @@ -1,6 +1,6 @@ py.install_sources( - '__init__.py', 'all.py', + 'dancing_links.pyx', 'dlxcpp.py', 'hadamard_matrix.py', 'latin.py', diff --git a/src/sage/combinat/meson.build b/src/sage/combinat/meson.build index 7b08a1c4e84..8d0dbe98936 100644 --- a/src/sage/combinat/meson.build +++ b/src/sage/combinat/meson.build @@ -1,6 +1,5 @@ py.install_sources( 'SJT.py', - '__init__.py', 'abstract_tree.py', 'affine_permutation.py', 'algebraic_combinatorics.py', @@ -18,6 +17,7 @@ py.install_sources( 'colored_permutations.py', 'combinat.py', 'combinat_cython.pxd', + 'combinat_cython.pyx', 'combination.py', 'combinatorial_map.py', 'composition.py', @@ -27,7 +27,9 @@ py.install_sources( 'core.py', 'counting.py', 'cyclic_sieving_phenomenon.py', + 'debruijn_sequence.pyx', 'decorated_permutation.py', + 'degree_sequences.pyx', 'derangements.py', 'descent_algebra.py', 'diagram.py', @@ -37,7 +39,10 @@ py.install_sources( 'e_one_star.py', 'enumerated_sets.py', 'enumeration_mod_permgroup.pxd', + 'enumeration_mod_permgroup.pyx', + 'expnums.pyx', 'family.py', + 'fast_vector_partitions.pyx', 'finite_state_machine.py', 'finite_state_machine_generators.py', 'fqsym.py', @@ -78,11 +83,14 @@ py.install_sources( 'partition_kleshchev.py', 'partition_shifting_algebras.py', 'partition_tuple.py', + 'partitions.pyx', 'perfect_matching.py', 'permutation.py', 'permutation_cython.pxd', + 'permutation_cython.pyx', 'plane_partition.py', 'q_analogues.py', + 'q_bernoulli.pyx', 'quickref.py', 'ranker.py', 'recognizable_series.py', @@ -96,6 +104,7 @@ py.install_sources( 'rsk.py', 'schubert_polynomial.py', 'set_partition.py', + 'set_partition_iterator.pyx', 'set_partition_ordered.py', 'shard_order.py', 'shifted_primed_tableau.py', @@ -113,6 +122,7 @@ py.install_sources( 'subsets_pairwise.py', 'subword.py', 'subword_complex.py', + 'subword_complex_c.pyx', 'super_tableau.py', 'superpartition.py', 'symmetric_group_algebra.py', diff --git a/src/sage/combinat/posets/meson.build b/src/sage/combinat/posets/meson.build index 3bae1cad671..25064435dde 100644 --- a/src/sage/combinat/posets/meson.build +++ b/src/sage/combinat/posets/meson.build @@ -1,15 +1,17 @@ py.install_sources( - '__init__.py', 'all.py', 'bubble_shuffle.py', 'cartesian_product.py', 'd_complete.py', 'elements.py', 'forest.py', + 'hasse_cython.pyx', + 'hasse_cython_flint.pyx', 'hasse_diagram.py', 'hochschild_lattice.py', 'incidence_algebras.py', 'lattices.py', + 'linear_extension_iterator.pyx', 'linear_extensions.py', 'mobile.py', 'moebius_algebra.py', diff --git a/src/sage/combinat/rigged_configurations/meson.build b/src/sage/combinat/rigged_configurations/meson.build index 40d0f4e42c5..7379bfe4621 100644 --- a/src/sage/combinat/rigged_configurations/meson.build +++ b/src/sage/combinat/rigged_configurations/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'all.py', 'bij_abstract_class.py', 'bij_infinity.py', @@ -21,6 +20,7 @@ py.install_sources( 'rigged_configuration_element.py', 'rigged_configurations.py', 'rigged_partition.pxd', + 'rigged_partition.pyx', 'tensor_product_kr_tableaux.py', 'tensor_product_kr_tableaux_element.py', subdir: 'sage/combinat/rigged_configurations', diff --git a/src/sage/combinat/root_system/meson.build b/src/sage/combinat/root_system/meson.build index 629c67bcdd6..13fc0c1c65a 100644 --- a/src/sage/combinat/root_system/meson.build +++ b/src/sage/combinat/root_system/meson.build @@ -1,9 +1,9 @@ py.install_sources( - '__init__.py', 'all.py', 'ambient_space.py', 'associahedron.py', 'braid_move_calculator.py', + 'braid_orbit.pyx', 'branching_rules.py', 'cartan_matrix.py', 'cartan_type.py', @@ -18,8 +18,10 @@ py.install_sources( 'non_symmetric_macdonald_polynomials.py', 'pieri_factors.py', 'plot.py', + 'reflection_group_c.pyx', 'reflection_group_complex.py', 'reflection_group_element.pxd', + 'reflection_group_element.pyx', 'reflection_group_real.py', 'root_lattice_realization_algebras.py', 'root_lattice_realizations.py', diff --git a/src/sage/combinat/words/meson.build b/src/sage/combinat/words/meson.build index 2333d8dc0cd..bcc0f2ede65 100644 --- a/src/sage/combinat/words/meson.build +++ b/src/sage/combinat/words/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'abstract_word.py', 'all.py', 'alphabet.py', @@ -12,7 +11,9 @@ py.install_sources( 'shuffle_product.py', 'suffix_trees.py', 'word.py', + 'word_char.pyx', 'word_datatypes.pxd', + 'word_datatypes.pyx', 'word_generators.py', 'word_infinite_datatypes.py', 'word_options.py', diff --git a/src/sage/cpython/meson.build b/src/sage/cpython/meson.build index 0667e05ebad..850d414b24f 100644 --- a/src/sage/cpython/meson.build +++ b/src/sage/cpython/meson.build @@ -2,19 +2,27 @@ py.install_sources( '__init__.py', '_py2_random.py', 'all.py', + 'atexit.pyx', + 'builtin_types.pyx', 'cython_metaclass.h', 'cython_metaclass.pxd', + 'cython_metaclass.pyx', + 'debug.pyx', 'dict_del_by_value.pxd', + 'dict_del_by_value.pyx', 'dict_internal.h', 'getattr.pxd', + 'getattr.pyx', 'pycore_long.h', 'pycore_long.pxd', 'python_debug.h', 'python_debug.pxd', 'pyx_visit.h', 'string.pxd', + 'string.pyx', 'string_impl.h', 'type.pxd', + 'type.pyx', 'wrapperdescr.pxd', subdir: 'sage/cpython', ) diff --git a/src/sage/crypto/meson.build b/src/sage/crypto/meson.build index 633c048a59c..62d6f49faa5 100644 --- a/src/sage/crypto/meson.build +++ b/src/sage/crypto/meson.build @@ -2,6 +2,7 @@ py.install_sources( '__init__.py', 'all.py', 'boolean_function.pxd', + 'boolean_function.pyx', 'cipher.py', 'classical.py', 'classical_cipher.py', @@ -9,6 +10,7 @@ py.install_sources( 'lattice.py', 'lfsr.py', 'lwe.py', + 'sbox.pyx', 'sboxes.py', 'stream.py', 'stream_cipher.py', diff --git a/src/sage/data_structures/meson.build b/src/sage/data_structures/meson.build index 3cc243fe62a..7de4c3c4a47 100644 --- a/src/sage/data_structures/meson.build +++ b/src/sage/data_structures/meson.build @@ -1,17 +1,23 @@ py.install_sources( - '__init__.py', 'all.py', 'binary_matrix.pxd', 'binary_search.pxd', + 'binary_search.pyx', 'bitset.pxd', + 'bitset.pyx', 'bitset_base.pxd', + 'bitset_base.pyx', 'bitset_intrinsics.h', 'blas_dict.pxd', + 'blas_dict.pyx', 'bounded_integer_sequences.pxd', + 'bounded_integer_sequences.pyx', 'list_of_pairs.pxd', + 'list_of_pairs.pyx', 'mutable_poset.py', 'pairing_heap.h', 'pairing_heap.pxd', + 'pairing_heap.pyx', 'sparse_bitset.pxd', 'stream.py', subdir: 'sage/data_structures', diff --git a/src/sage/dynamics/arithmetic_dynamics/meson.build b/src/sage/dynamics/arithmetic_dynamics/meson.build index 7ba8b8b4068..cece313654b 100644 --- a/src/sage/dynamics/arithmetic_dynamics/meson.build +++ b/src/sage/dynamics/arithmetic_dynamics/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'affine_ds.py', 'all.py', 'berkovich_ds.py', @@ -9,6 +8,7 @@ py.install_sources( 'generic_ds.py', 'product_projective_ds.py', 'projective_ds.py', + 'projective_ds_helper.pyx', 'wehlerK3.py', subdir: 'sage/dynamics/arithmetic_dynamics', ) diff --git a/src/sage/dynamics/complex_dynamics/meson.build b/src/sage/dynamics/complex_dynamics/meson.build index ccde4866dd1..7e2be52e56d 100644 --- a/src/sage/dynamics/complex_dynamics/meson.build +++ b/src/sage/dynamics/complex_dynamics/meson.build @@ -1,7 +1,7 @@ py.install_sources( - '__init__.py', 'all.py', 'mandel_julia.py', + 'mandel_julia_helper.pyx', subdir: 'sage/dynamics/complex_dynamics', ) diff --git a/src/sage/dynamics/meson.build b/src/sage/dynamics/meson.build index 9ba62964e6c..134cfd1a296 100644 --- a/src/sage/dynamics/meson.build +++ b/src/sage/dynamics/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'all.py', 'finite_dynamical_system.py', 'finite_dynamical_system_catalog.py', diff --git a/src/sage/ext/meson.build b/src/sage/ext/meson.build index dc3026cec34..ef305854c8a 100644 --- a/src/sage/ext/meson.build +++ b/src/sage/ext/meson.build @@ -1,10 +1,12 @@ py.install_sources( - '__init__.py', 'all__sagemath_objects.py', 'ccobject.h', 'cplusplus.pxd', 'fast_callable.pxd', + 'fast_callable.pyx', 'fast_eval.pxd', + 'fast_eval.pyx', + 'memory.pyx', 'mod_int.h', 'mod_int.pxd', 'stdsage.pxd', diff --git a/src/sage/functions/meson.build b/src/sage/functions/meson.build index 85b7b4afa49..2f9370636c1 100644 --- a/src/sage/functions/meson.build +++ b/src/sage/functions/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'airy.py', 'all.py', 'bessel.py', @@ -15,6 +14,7 @@ py.install_sources( 'orthogonal_polys.py', 'other.py', 'piecewise.py', + 'prime_pi.pyx', 'special.py', 'spike_function.py', 'transcendental.py', diff --git a/src/sage/games/meson.build b/src/sage/games/meson.build index 8852b13d9cf..ff67e3d2cb9 100644 --- a/src/sage/games/meson.build +++ b/src/sage/games/meson.build @@ -1,9 +1,9 @@ py.install_sources( - '__init__.py', 'all.py', 'hexad.py', 'quantumino.py', 'sudoku.py', + 'sudoku_backtrack.pyx', subdir: 'sage/games', ) diff --git a/src/sage/geometry/meson.build b/src/sage/geometry/meson.build index 3b48404564d..52394a345be 100644 --- a/src/sage/geometry/meson.build +++ b/src/sage/geometry/meson.build @@ -1,5 +1,5 @@ py.install_sources( - '__init__.py', + 'abc.pyx', 'all.py', 'cone.py', 'cone_catalog.py', @@ -10,14 +10,19 @@ py.install_sources( 'fan_morphism.py', 'hasse_diagram.py', 'integral_points.py', + 'integral_points_generic_dense.pyx', + 'integral_points_integer_dense.pyx', 'lattice_polytope.py', 'linear_expression.py', 'newton_polygon.py', + 'palp_normal_form.pyx', + 'point_collection.pyx', 'polyhedral_complex.py', 'pseudolines.py', 'relative_interior.py', 'ribbon_graph.py', 'toric_lattice.py', + 'toric_lattice_element.pyx', 'toric_plotter.py', 'voronoi_diagram.py', subdir: 'sage/geometry', diff --git a/src/sage/geometry/polyhedron/combinatorial_polyhedron/meson.build b/src/sage/geometry/polyhedron/combinatorial_polyhedron/meson.build index a279309fc13..9feac5d7c12 100644 --- a/src/sage/geometry/polyhedron/combinatorial_polyhedron/meson.build +++ b/src/sage/geometry/polyhedron/combinatorial_polyhedron/meson.build @@ -1,14 +1,20 @@ py.install_sources( - '__init__.py', 'all.py', 'base.pxd', + 'base.pyx', 'combinatorial_face.pxd', + 'combinatorial_face.pyx', 'conversions.pxd', + 'conversions.pyx', 'face_data_structure.pxd', 'face_iterator.pxd', + 'face_iterator.pyx', 'face_list_data_structure.pxd', + 'face_list_data_structure.pyx', 'list_of_faces.pxd', + 'list_of_faces.pyx', 'polyhedron_face_lattice.pxd', + 'polyhedron_face_lattice.pyx', subdir: 'sage/geometry/polyhedron/combinatorial_polyhedron', ) diff --git a/src/sage/geometry/polyhedron/meson.build b/src/sage/geometry/polyhedron/meson.build index db589c39385..3b07bbdd9a5 100644 --- a/src/sage/geometry/polyhedron/meson.build +++ b/src/sage/geometry/polyhedron/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'all.py', 'backend_cdd.py', 'backend_cdd_rdf.py', diff --git a/src/sage/geometry/triangulation/meson.build b/src/sage/geometry/triangulation/meson.build index e8361a9da09..9efd051ec8d 100644 --- a/src/sage/geometry/triangulation/meson.build +++ b/src/sage/geometry/triangulation/meson.build @@ -1,6 +1,6 @@ py.install_sources( - '__init__.py', 'all.py', + 'base.pyx', 'data.pxd', 'element.py', 'functions.pxd', diff --git a/src/sage/graphs/base/meson.build b/src/sage/graphs/base/meson.build index badf69f0478..5b0c97bc912 100644 --- a/src/sage/graphs/base/meson.build +++ b/src/sage/graphs/base/meson.build @@ -1,15 +1,22 @@ py.install_sources( - '__init__.py', 'all.py', 'boost_graph.pxd', + 'boost_graph.pyx', 'c_graph.pxd', + 'c_graph.pyx', 'dense_graph.pxd', + 'dense_graph.pyx', 'graph_backends.pxd', + 'graph_backends.pyx', 'overview.py', 'sparse_graph.pxd', + 'sparse_graph.pyx', 'static_dense_graph.pxd', + 'static_dense_graph.pyx', 'static_sparse_backend.pxd', + 'static_sparse_backend.pyx', 'static_sparse_graph.pxd', + 'static_sparse_graph.pyx', subdir: 'sage/graphs/base', ) diff --git a/src/sage/graphs/generators/meson.build b/src/sage/graphs/generators/meson.build index c98c2647c25..9d45f5fc0a7 100644 --- a/src/sage/graphs/generators/meson.build +++ b/src/sage/graphs/generators/meson.build @@ -1,10 +1,10 @@ py.install_sources( - '__init__.py', 'all.py', 'basic.py', 'chessboard.py', 'classical_geometries.py', 'degree_sequence.py', + 'distance_regular.pyx', 'families.py', 'intersection.py', 'platonic_solids.py', diff --git a/src/sage/graphs/graph_decompositions/meson.build b/src/sage/graphs/graph_decompositions/meson.build index d14f821520d..9596b734bb4 100644 --- a/src/sage/graphs/graph_decompositions/meson.build +++ b/src/sage/graphs/graph_decompositions/meson.build @@ -7,15 +7,25 @@ endif rw = cc.find_library('rw', required: get_option('rankwidth'), disabler: true) py.install_sources( - '__init__.py', 'all.py', 'all__sagemath_tdlib.py', + 'bandwidth.pyx', + 'clique_separators.pyx', + 'cutwidth.pyx', 'fast_digraph.pxd', + 'fast_digraph.pyx', + 'graph_products.pyx', 'modular_decomposition.pxd', + 'modular_decomposition.pyx', 'rankwidth.pxd', + 'rankwidth.pyx', 'slice_decomposition.pxd', + 'slice_decomposition.pyx', + 'tdlib.pyx', 'tree_decomposition.pxd', + 'tree_decomposition.pyx', 'vertex_separation.pxd', + 'vertex_separation.pyx', subdir: 'sage/graphs/graph_decompositions', ) diff --git a/src/sage/graphs/meson.build b/src/sage/graphs/meson.build index 5ab5ca12de3..9e778b1afe2 100644 --- a/src/sage/graphs/meson.build +++ b/src/sage/graphs/meson.build @@ -15,48 +15,75 @@ planarity = cc.find_library( ) py.install_sources( - '__init__.py', 'all.py', 'all__sagemath_bliss.py', 'all__sagemath_mcqd.py', 'all__sagemath_tdlib.py', + 'asteroidal_triples.pyx', 'bipartite_graph.py', + 'bliss.pyx', + 'centrality.pyx', + 'chrompoly.pyx', 'cliquer.pxd', + 'cliquer.pyx', 'cographs.py', + 'comparability.pyx', 'connectivity.pxd', + 'connectivity.pyx', 'convexity_properties.pxd', + 'convexity_properties.pyx', 'cycle_enumeration.py', 'digraph.py', 'digraph_generators.py', 'distances_all_pairs.pxd', + 'distances_all_pairs.pyx', 'domination.py', 'dot2tex_utils.py', + 'edge_connectivity.pyx', 'generic_graph.py', 'generic_graph_pyx.pxd', + 'generic_graph_pyx.pyx', + 'genus.pyx', 'graph.py', + 'graph_coloring.pyx', 'graph_database.py', 'graph_editor.py', 'graph_generators.py', + 'graph_generators_pyx.pyx', 'graph_input.py', 'graph_latex.py', 'graph_list.py', 'graph_plot.py', 'graph_plot_js.py', + 'hyperbolicity.pyx', 'hypergraph_generators.py', 'independent_sets.pxd', + 'independent_sets.pyx', 'isgci.py', + 'isoperimetric_inequalities.pyx', + 'line_graph.pyx', 'lovasz_theta.py', 'matching.py', 'matching_covered_graph.py', + 'matchpoly.pyx', 'mcqd.pxd', + 'mcqd.pyx', 'orientations.py', 'partial_cube.py', + 'path_enumeration.pyx', + 'planarity.pyx', 'pq_trees.py', 'print_graphs.py', 'schnyder.py', + 'spanning_tree.pyx', + 'strongly_regular_db.pyx', 'traversals.pxd', + 'traversals.pyx', 'trees.pxd', + 'trees.pyx', 'tutte_polynomial.py', + 'views.pyx', + 'weakly_chordal.pyx', subdir: 'sage/graphs', ) diff --git a/src/sage/groups/matrix_gps/meson.build b/src/sage/groups/matrix_gps/meson.build index e9cd43cf946..63baa1576f3 100644 --- a/src/sage/groups/matrix_gps/meson.build +++ b/src/sage/groups/matrix_gps/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'all.py', 'binary_dihedral.py', 'catalog.py', @@ -7,7 +6,9 @@ py.install_sources( 'finitely_generated.py', 'finitely_generated_gap.py', 'group_element.pxd', + 'group_element.pyx', 'group_element_gap.pxd', + 'group_element_gap.pyx', 'heisenberg.py', 'isometries.py', 'linear.py', diff --git a/src/sage/groups/meson.build b/src/sage/groups/meson.build index 484b02929f1..9c2589a8103 100644 --- a/src/sage/groups/meson.build +++ b/src/sage/groups/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'all.py', 'artin.py', 'braid.py', @@ -16,6 +15,7 @@ py.install_sources( 'galois_group_perm.py', 'generic.py', 'group.pxd', + 'group.pyx', 'group_exp.py', 'group_semidirect_product.py', 'groups_catalog.py', @@ -25,6 +25,7 @@ py.install_sources( 'libgap_mixin.py', 'libgap_morphism.py', 'libgap_wrapper.pxd', + 'libgap_wrapper.pyx', 'pari_group.py', 'raag.py', subdir: 'sage/groups', diff --git a/src/sage/groups/perm_gps/meson.build b/src/sage/groups/perm_gps/meson.build index 6ad30d99fe2..cb08074108e 100644 --- a/src/sage/groups/perm_gps/meson.build +++ b/src/sage/groups/perm_gps/meson.build @@ -1,10 +1,10 @@ py.install_sources( - '__init__.py', 'all.py', 'constructor.py', 'cubegroup.py', 'permgroup.py', 'permgroup_element.pxd', + 'permgroup_element.pyx', 'permgroup_morphism.py', 'permgroup_named.py', 'permutation_groups_catalog.py', diff --git a/src/sage/groups/perm_gps/partn_ref/meson.build b/src/sage/groups/perm_gps/partn_ref/meson.build index 933d72d2729..7e2a49fc7de 100644 --- a/src/sage/groups/perm_gps/partn_ref/meson.build +++ b/src/sage/groups/perm_gps/partn_ref/meson.build @@ -1,16 +1,25 @@ py.install_sources( - '__init__.py', 'all.py', 'automorphism_group_canonical_label.pxd', + 'automorphism_group_canonical_label.pyx', 'canonical_augmentation.pxd', + 'canonical_augmentation.pyx', 'data_structures.pxd', + 'data_structures.pyx', 'double_coset.pxd', + 'double_coset.pyx', 'refinement_binary.pxd', + 'refinement_binary.pyx', 'refinement_graphs.pxd', + 'refinement_graphs.pyx', 'refinement_lists.pxd', + 'refinement_lists.pyx', 'refinement_matrices.pxd', + 'refinement_matrices.pyx', 'refinement_python.pxd', + 'refinement_python.pyx', 'refinement_sets.pxd', + 'refinement_sets.pyx', subdir: 'sage/groups/perm_gps/partn_ref', ) diff --git a/src/sage/groups/perm_gps/partn_ref2/meson.build b/src/sage/groups/perm_gps/partn_ref2/meson.build index 69b9bee042d..39516a980ee 100644 --- a/src/sage/groups/perm_gps/partn_ref2/meson.build +++ b/src/sage/groups/perm_gps/partn_ref2/meson.build @@ -1,7 +1,7 @@ py.install_sources( - '__init__.py', 'all.py', 'refinement_generic.pxd', + 'refinement_generic.pyx', subdir: 'sage/groups/perm_gps/partn_ref2', ) diff --git a/src/sage/groups/semimonomial_transformations/meson.build b/src/sage/groups/semimonomial_transformations/meson.build index f7958976271..78b8114c75d 100644 --- a/src/sage/groups/semimonomial_transformations/meson.build +++ b/src/sage/groups/semimonomial_transformations/meson.build @@ -1,7 +1,7 @@ py.install_sources( - '__init__.py', 'all.py', 'semimonomial_transformation.pxd', + 'semimonomial_transformation.pyx', 'semimonomial_transformation_group.py', subdir: 'sage/groups/semimonomial_transformations', ) diff --git a/src/sage/interacts/meson.build b/src/sage/interacts/meson.build index b0542f38853..ee995d5e3fc 100644 --- a/src/sage/interacts/meson.build +++ b/src/sage/interacts/meson.build @@ -1,11 +1,11 @@ py.install_sources( - '__init__.py', 'algebra.py', 'all.py', 'calculus.py', 'fractals.py', 'geometry.py', 'library.py', + 'library_cython.pyx', 'statistics.py', subdir: 'sage/interacts', ) diff --git a/src/sage/interfaces/meson.build b/src/sage/interfaces/meson.build index 6a71a2e641e..51e7b7701f3 100644 --- a/src/sage/interfaces/meson.build +++ b/src/sage/interfaces/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'abc.py', 'all.py', 'all__sagemath_polyhedra.py', @@ -41,6 +40,7 @@ py.install_sources( 'polymake.py', 'povray.py', 'process.pxd', + 'process.pyx', 'psage.py', 'qepcad.py', 'qsieve.py', @@ -50,6 +50,7 @@ py.install_sources( 'rubik.py', 'sage-maxima.lisp', 'sage0.py', + 'sagespawn.pyx', 'scilab.py', 'singular.py', 'sympy.py', diff --git a/src/sage/lfunctions/meson.build b/src/sage/lfunctions/meson.build index 24e2f156f5e..52c10fbe51e 100644 --- a/src/sage/lfunctions/meson.build +++ b/src/sage/lfunctions/meson.build @@ -1,10 +1,10 @@ py.install_sources( - '__init__.py', 'all.py', 'dokchitser.py', 'lcalc.py', 'pari.py', 'sympow.py', + 'zero_sums.pyx', subdir: 'sage/lfunctions', ) diff --git a/src/sage/libs/arb/meson.build b/src/sage/libs/arb/meson.build index aa98fb8ff3a..a3ee01097af 100644 --- a/src/sage/libs/arb/meson.build +++ b/src/sage/libs/arb/meson.build @@ -12,6 +12,7 @@ py.install_sources( 'arb_hypgeom.pxd', 'arb_wrap.h', 'arf.pxd', + 'arith.pyx', 'bernoulli.pxd', 'mag.pxd', 'types.pxd', diff --git a/src/sage/libs/coxeter3/meson.build b/src/sage/libs/coxeter3/meson.build index bd571caeec4..bc13b4674df 100644 --- a/src/sage/libs/coxeter3/meson.build +++ b/src/sage/libs/coxeter3/meson.build @@ -7,6 +7,7 @@ py.install_sources( '__init__.py', 'all__sagemath_coxeter3.py', 'coxeter.pxd', + 'coxeter.pyx', 'coxeter_group.py', 'decl.pxd', subdir: 'sage/libs/coxeter3', diff --git a/src/sage/libs/eclib/meson.build b/src/sage/libs/eclib/meson.build index 49e26891b1d..76046ca0a14 100644 --- a/src/sage/libs/eclib/meson.build +++ b/src/sage/libs/eclib/meson.build @@ -4,9 +4,13 @@ py.install_sources( 'all.py', 'constructor.py', 'homspace.pxd', + 'homspace.pyx', 'interface.py', 'mat.pxd', + 'mat.pyx', + 'mwrank.pyx', 'newforms.pxd', + 'newforms.pyx', subdir: 'sage/libs/eclib', ) diff --git a/src/sage/libs/flint/meson.build b/src/sage/libs/flint/meson.build index fe12b28b5f7..2350dbaf013 100644 --- a/src/sage/libs/flint/meson.build +++ b/src/sage/libs/flint/meson.build @@ -26,6 +26,8 @@ py.install_sources( 'arb_poly.pxd', 'arf.pxd', 'arith.pxd', + 'arith.pyx', + 'arith_sage.pyx', 'bernoulli.pxd', 'bool_mat.pxd', 'ca.pxd', @@ -46,6 +48,7 @@ py.install_sources( 'fft.pxd', 'flint.pxd', 'flint_ntl_wrap.h', + 'flint_sage.pyx', 'flint_wrap.h', 'fmpq.pxd', 'fmpq_mat.pxd', @@ -55,11 +58,13 @@ py.install_sources( 'fmpq_poly.pxd', 'fmpq_poly_macros.pxd', 'fmpq_poly_sage.pxd', + 'fmpq_poly_sage.pyx', 'fmpq_vec.pxd', 'fmpz.pxd', 'fmpz_extras.pxd', 'fmpz_factor.pxd', 'fmpz_factor_sage.pxd', + 'fmpz_factor_sage.pyx', 'fmpz_lll.pxd', 'fmpz_macros.pxd', 'fmpz_mat.pxd', @@ -75,11 +80,13 @@ py.install_sources( 'fmpz_mpoly_factor.pxd', 'fmpz_mpoly_q.pxd', 'fmpz_poly.pxd', + 'fmpz_poly.pyx', 'fmpz_poly_factor.pxd', 'fmpz_poly_macros.pxd', 'fmpz_poly_mat.pxd', 'fmpz_poly_q.pxd', 'fmpz_poly_sage.pxd', + 'fmpz_poly_sage.pyx', 'fmpz_vec.pxd', 'fmpzi.pxd', 'fq.pxd', @@ -144,9 +151,13 @@ py.install_sources( 'qfb.pxd', 'qqbar.pxd', 'qsieve.pxd', + 'qsieve.pyx', + 'qsieve_sage.pyx', 'thread_pool.pxd', 'types.pxd', 'ulong_extras.pxd', + 'ulong_extras.pyx', + 'ulong_extras_sage.pyx', subdir: 'sage/libs/flint', ) diff --git a/src/sage/libs/gap/meson.build b/src/sage/libs/gap/meson.build index def07898f4c..1e1b99a23ee 100644 --- a/src/sage/libs/gap/meson.build +++ b/src/sage/libs/gap/meson.build @@ -1,19 +1,21 @@ py.install_sources( - '__init__.py', 'all.py', 'all_documented_functions.py', 'assigned_names.py', 'context_managers.py', 'element.pxd', + 'element.pyx', 'gap_functions.py', 'gap_globals.py', 'gap_includes.pxd', + 'libgap.pyx', 'operations.py', 'sage.gaprc', 'saved_workspace.py', 'test.py', 'test_long.py', 'util.pxd', + 'util.pyx', subdir: 'sage/libs/gap', ) diff --git a/src/sage/libs/gmp/meson.build b/src/sage/libs/gmp/meson.build index 31fb4f3a5fa..42a1e652267 100644 --- a/src/sage/libs/gmp/meson.build +++ b/src/sage/libs/gmp/meson.build @@ -8,6 +8,7 @@ py.install_sources( 'mpq.pxd', 'mpz.pxd', 'pylong.pxd', + 'pylong.pyx', 'random.pxd', 'randomize.pxd', 'types.pxd', diff --git a/src/sage/libs/gsl/meson.build b/src/sage/libs/gsl/meson.build index ea5eac5e93a..b96776f35a8 100644 --- a/src/sage/libs/gsl/meson.build +++ b/src/sage/libs/gsl/meson.build @@ -3,6 +3,7 @@ py.install_sources( 'airy.pxd', 'all.pxd', 'array.pxd', + 'array.pyx', 'bessel.pxd', 'blas.pxd', 'blas_types.pxd', diff --git a/src/sage/libs/lcalc/meson.build b/src/sage/libs/lcalc/meson.build index 1cac09a9d74..1e9a1bb2e89 100644 --- a/src/sage/libs/lcalc/meson.build +++ b/src/sage/libs/lcalc/meson.build @@ -8,6 +8,7 @@ lcalc = dependency( py.install_sources( '__init__.py', 'lcalc_Lfunction.pxd', + 'lcalc_Lfunction.pyx', 'lcalc_sage.h', subdir: 'sage/libs/lcalc', ) diff --git a/src/sage/libs/linbox/meson.build b/src/sage/libs/linbox/meson.build index 3ddd7815e5b..ae7a2c4fd36 100644 --- a/src/sage/libs/linbox/meson.build +++ b/src/sage/libs/linbox/meson.build @@ -5,6 +5,7 @@ py.install_sources( 'givaro.pxd', 'linbox.pxd', 'linbox_flint_interface.pxd', + 'linbox_flint_interface.pyx', subdir: 'sage/libs/linbox', ) diff --git a/src/sage/libs/meson.build b/src/sage/libs/meson.build index bff6a2f15b9..8a390f460e8 100644 --- a/src/sage/libs/meson.build +++ b/src/sage/libs/meson.build @@ -89,19 +89,24 @@ homfly = cc.find_library( ) py.install_sources( - '__init__.py', 'all.py', 'all__sagemath_coxeter3.py', 'all__sagemath_meataxe.py', 'all__sagemath_objects.py', 'all__sagemath_sirocco.py', + 'braiding.pyx', 'ecl.pxd', + 'ecl.pyx', 'eclsig.h', 'gmpxx.pxd', + 'homfly.pyx', 'iml.pxd', + 'libecm.pyx', 'm4ri.pxd', 'm4rie.pxd', 'meataxe.pxd', + 'meataxe.pyx', + 'sirocco.pyx', subdir: 'sage/libs', ) diff --git a/src/sage/libs/mpmath/meson.build b/src/sage/libs/mpmath/meson.build index a197516f9f1..a49cfaa64df 100644 --- a/src/sage/libs/mpmath/meson.build +++ b/src/sage/libs/mpmath/meson.build @@ -2,8 +2,12 @@ py.install_sources( '__init__.py', 'all.py', 'ext_impl.pxd', + 'ext_impl.pyx', + 'ext_libmp.pyx', 'ext_main.pxd', + 'ext_main.pyx', 'utils.pxd', + 'utils.pyx', subdir: 'sage/libs/mpmath', ) diff --git a/src/sage/libs/ntl/meson.build b/src/sage/libs/ntl/meson.build index 7f78db280fe..21b17d7659c 100644 --- a/src/sage/libs/ntl/meson.build +++ b/src/sage/libs/ntl/meson.build @@ -13,30 +13,51 @@ py.install_sources( 'all.py', 'conversion.pxd', 'convert.pxd', + 'convert.pyx', + 'error.pyx', 'lzz_p.pxd', 'lzz_pX.pxd', 'mat_GF2.pxd', 'mat_GF2E.pxd', 'mat_ZZ.pxd', 'ntl_GF2.pxd', + 'ntl_GF2.pyx', 'ntl_GF2E.pxd', + 'ntl_GF2E.pyx', 'ntl_GF2EContext.pxd', + 'ntl_GF2EContext.pyx', 'ntl_GF2EX.pxd', + 'ntl_GF2EX.pyx', 'ntl_GF2X.pxd', + 'ntl_GF2X.pyx', 'ntl_ZZ.pxd', + 'ntl_ZZ.pyx', 'ntl_ZZX.pxd', + 'ntl_ZZX.pyx', 'ntl_ZZ_p.pxd', + 'ntl_ZZ_p.pyx', 'ntl_ZZ_pContext.pxd', + 'ntl_ZZ_pContext.pyx', 'ntl_ZZ_pE.pxd', + 'ntl_ZZ_pE.pyx', 'ntl_ZZ_pEContext.pxd', + 'ntl_ZZ_pEContext.pyx', 'ntl_ZZ_pEX.pxd', + 'ntl_ZZ_pEX.pyx', 'ntl_ZZ_pX.pxd', + 'ntl_ZZ_pX.pyx', 'ntl_lzz_p.pxd', + 'ntl_lzz_p.pyx', 'ntl_lzz_pContext.pxd', + 'ntl_lzz_pContext.pyx', 'ntl_lzz_pX.pxd', + 'ntl_lzz_pX.pyx', 'ntl_mat_GF2.pxd', + 'ntl_mat_GF2.pyx', 'ntl_mat_GF2E.pxd', + 'ntl_mat_GF2E.pyx', 'ntl_mat_ZZ.pxd', + 'ntl_mat_ZZ.pyx', 'ntl_tools.pxd', 'ntlwrap.h', 'ntlwrap_impl.h', diff --git a/src/sage/libs/pari/meson.build b/src/sage/libs/pari/meson.build index 5952060267c..9df9ad0861e 100644 --- a/src/sage/libs/pari/meson.build +++ b/src/sage/libs/pari/meson.build @@ -2,12 +2,20 @@ py.install_sources( '__init__.py', 'all.py', 'convert_flint.pxd', + 'convert_flint.pyx', 'convert_gmp.pxd', + 'convert_gmp.pyx', 'convert_sage.pxd', + 'convert_sage.pyx', 'convert_sage_complex_double.pxd', + 'convert_sage_complex_double.pyx', + 'convert_sage_matrix.pyx', 'convert_sage_real_double.pxd', + 'convert_sage_real_double.pyx', 'convert_sage_real_mpfr.pxd', + 'convert_sage_real_mpfr.pyx', 'misc.pxd', + 'misc.pyx', 'tests.py', subdir: 'sage/libs/pari', ) diff --git a/src/sage/libs/singular/meson.build b/src/sage/libs/singular/meson.build index 52ece586caa..48df95ba3d5 100644 --- a/src/sage/libs/singular/meson.build +++ b/src/sage/libs/singular/meson.build @@ -2,11 +2,17 @@ py.install_sources( '__init__.py', 'decl.pxd', 'function.pxd', + 'function.pyx', 'function_factory.py', 'groebner_strategy.pxd', + 'groebner_strategy.pyx', + 'option.pyx', 'polynomial.pxd', + 'polynomial.pyx', 'ring.pxd', + 'ring.pyx', 'singular.pxd', + 'singular.pyx', 'standard_options.py', subdir: 'sage/libs/singular', ) diff --git a/src/sage/libs/symmetrica/meson.build b/src/sage/libs/symmetrica/meson.build index e6d178f064a..37a42cd95c5 100644 --- a/src/sage/libs/symmetrica/meson.build +++ b/src/sage/libs/symmetrica/meson.build @@ -5,7 +5,12 @@ symmetrica = cc.find_library( disabler: true, ) -py.install_sources('__init__.py', 'all.py', subdir: 'sage/libs/symmetrica') +py.install_sources( + '__init__.py', + 'all.py', + 'symmetrica.pyx', + subdir: 'sage/libs/symmetrica', +) extension_data = {'symmetrica' : files('symmetrica.pyx')} diff --git a/src/sage/matrix/meson.build b/src/sage/matrix/meson.build index ead32fdfae9..ad0a7c435bb 100644 --- a/src/sage/matrix/meson.build +++ b/src/sage/matrix/meson.build @@ -2,57 +2,98 @@ iml = cc.find_library('iml', required: not is_windows, disabler: true) py.install_sources( - '__init__.py', 'action.pxd', + 'action.pyx', 'all.py', 'all__sagemath_meataxe.py', 'args.pxd', + 'args.pyx', 'benchmark.py', 'berlekamp_massey.py', + 'change_ring.pyx', 'compute_J_ideal.py', + 'constructor.pyx', 'docs.py', + 'echelon_matrix.pyx', 'matrix.pxd', 'matrix0.pxd', + 'matrix0.pyx', 'matrix1.pxd', + 'matrix1.pyx', 'matrix2.pxd', + 'matrix2.pyx', 'matrix_cdv.pxd', + 'matrix_cdv.pyx', 'matrix_complex_ball_dense.pxd', + 'matrix_complex_ball_dense.pyx', 'matrix_complex_double_dense.pxd', + 'matrix_complex_double_dense.pyx', 'matrix_cyclo_dense.pxd', + 'matrix_cyclo_dense.pyx', 'matrix_dense.pxd', + 'matrix_dense.pyx', 'matrix_domain_dense.pxd', 'matrix_domain_sparse.pxd', 'matrix_double_dense.pxd', + 'matrix_double_dense.pyx', 'matrix_double_sparse.pxd', + 'matrix_double_sparse.pyx', 'matrix_gap.pxd', + 'matrix_gap.pyx', 'matrix_generic_dense.pxd', + 'matrix_generic_dense.pyx', 'matrix_generic_sparse.pxd', + 'matrix_generic_sparse.pyx', 'matrix_gf2e_dense.pxd', + 'matrix_gf2e_dense.pyx', 'matrix_gfpn_dense.pxd', + 'matrix_gfpn_dense.pyx', 'matrix_integer_dense.pxd', + 'matrix_integer_dense.pyx', 'matrix_integer_dense_hnf.py', 'matrix_integer_dense_saturation.py', 'matrix_integer_sparse.pxd', + 'matrix_integer_sparse.pyx', 'matrix_laurent_mpolynomial_dense.pxd', + 'matrix_laurent_mpolynomial_dense.pyx', 'matrix_misc.py', 'matrix_mod2_dense.pxd', + 'matrix_mod2_dense.pyx', 'matrix_modn_dense_double.pxd', + 'matrix_modn_dense_double.pyx', 'matrix_modn_dense_float.pxd', + 'matrix_modn_dense_float.pyx', 'matrix_modn_sparse.pxd', + 'matrix_modn_sparse.pyx', 'matrix_mpolynomial_dense.pxd', + 'matrix_mpolynomial_dense.pyx', 'matrix_numpy_dense.pxd', + 'matrix_numpy_dense.pyx', 'matrix_numpy_integer_dense.pxd', + 'matrix_numpy_integer_dense.pyx', 'matrix_polynomial_dense.pxd', + 'matrix_polynomial_dense.pyx', 'matrix_rational_dense.pxd', + 'matrix_rational_dense.pyx', 'matrix_rational_sparse.pxd', + 'matrix_rational_sparse.pyx', 'matrix_real_double_dense.pxd', + 'matrix_real_double_dense.pyx', 'matrix_space.py', 'matrix_sparse.pxd', + 'matrix_sparse.pyx', 'matrix_symbolic_dense.pxd', + 'matrix_symbolic_dense.pyx', 'matrix_symbolic_sparse.pxd', + 'matrix_symbolic_sparse.pyx', 'matrix_window.pxd', + 'matrix_window.pyx', + 'misc.pyx', + 'misc_flint.pyx', + 'misc_mpfr.pyx', 'operation_table.py', 'special.py', + 'strassen.pyx', 'symplectic_basis.py', 'template.pxd', 'tests.py', diff --git a/src/sage/matroids/meson.build b/src/sage/matroids/meson.build index bb72248b0ae..f45992dd0a8 100644 --- a/src/sage/matroids/meson.build +++ b/src/sage/matroids/meson.build @@ -1,33 +1,46 @@ py.install_sources( - '__init__.py', 'advanced.py', 'all.py', 'basis_exchange_matroid.pxd', + 'basis_exchange_matroid.pyx', 'basis_matroid.pxd', + 'basis_matroid.pyx', 'catalog.py', 'chow_ring.py', 'chow_ring_ideal.py', 'circuit_closures_matroid.pxd', + 'circuit_closures_matroid.pyx', 'circuits_matroid.pxd', + 'circuits_matroid.pyx', 'constructor.py', 'database_collections.py', 'database_matroids.py', 'dual_matroid.py', 'extension.pxd', + 'extension.pyx', 'flats_matroid.pxd', + 'flats_matroid.pyx', 'gammoid.py', 'graphic_matroid.pxd', + 'graphic_matroid.pyx', 'lean_matrix.pxd', + 'lean_matrix.pyx', 'linear_matroid.pxd', + 'linear_matroid.pyx', 'matroid.pxd', + 'matroid.pyx', 'matroids_catalog.py', 'matroids_plot_helpers.py', 'minor_matroid.py', 'named_matroids.py', 'rank_matroid.py', 'set_system.pxd', + 'set_system.pyx', 'transversal_matroid.pxd', + 'transversal_matroid.pyx', 'union_matroid.pxd', + 'union_matroid.pyx', + 'unpickling.pyx', 'utilities.py', subdir: 'sage/matroids', ) diff --git a/src/sage/meson.build b/src/sage/meson.build index d1d15cf6895..f6b142855bc 100644 --- a/src/sage/meson.build +++ b/src/sage/meson.build @@ -80,7 +80,6 @@ foreach package : no_processing endforeach py.install_sources( - '__init__.py', 'all.py', 'all__sagemath_bliss.py', 'all__sagemath_coxeter3.py', diff --git a/src/sage/misc/meson.build b/src/sage/misc/meson.build index 5a6e139e39d..061a5ca1708 100644 --- a/src/sage/misc/meson.build +++ b/src/sage/misc/meson.build @@ -1,80 +1,110 @@ py.install_sources( - '__init__.py', 'abstract_method.py', 'all.py', 'all__sagemath_environment.py', 'all__sagemath_objects.py', 'all__sagemath_repl.py', 'allocator.pxd', + 'allocator.pyx', 'banner.py', 'benchmark.py', 'binary_tree.pxd', + 'binary_tree.pyx', 'bindable_class.py', + 'c3.pyx', 'c3_controlled.pxd', + 'c3_controlled.pyx', 'cachefunc.pxd', + 'cachefunc.pyx', 'call.py', + 'callable_dict.pyx', + 'citation.pyx', 'classcall_metaclass.pxd', + 'classcall_metaclass.pyx', 'classgraph.py', 'compat.py', + 'constant_function.pyx', 'converting_dict.py', 'copying.py', 'cython.py', 'decorators.py', 'defaults.py', + 'derivative.pyx', 'dev_tools.py', 'edit_module.py', 'element_with_label.py', 'explain_pickle.py', 'fast_methods.pxd', + 'fast_methods.pyx', 'flatten.py', + 'fpickle.pyx', 'func_persist.py', 'function_mangling.pxd', + 'function_mangling.pyx', 'functional.py', 'gperftools.py', 'html.py', 'inherit_comparison.pxd', + 'inherit_comparison.pyx', 'inline_fortran.py', + 'instancedoc.pyx', 'latex.py', 'latex_macros.py', 'latex_standalone.py', + 'lazy_attribute.pyx', 'lazy_format.py', 'lazy_import.pxd', + 'lazy_import.pyx', 'lazy_import_cache.py', 'lazy_list.pxd', + 'lazy_list.pyx', 'lazy_string.pxd', + 'lazy_string.pyx', 'map_threaded.py', 'mathml.py', 'messaging.py', 'method_decorator.py', 'misc.py', 'misc_c.pxd', + 'misc_c.pyx', 'mrange.py', 'multireplace.py', 'namespace_package.py', 'nested_class.pxd', + 'nested_class.pyx', 'object_multiplexer.py', 'package.py', 'package_dir.py', 'pager.py', + 'parser.pyx', + 'persist.pyx', + 'pickle_old.pyx', 'prandom.py', 'profiler.py', 'proof.py', 'python.py', 'random_testing.py', 'randstate.pxd', + 'randstate.pyx', 'remote_file.py', 'repr.py', + 'reset.pyx', 'rest_index_of_methods.py', 'sage_eval.py', 'sage_input.py', + 'sage_ostools.pyx', 'sage_timeit.py', + 'sage_timeit_class.pyx', 'sage_unittest.py', 'sagedoc.py', 'sagedoc_conf.py', 'sageinspect.py', 'search.pxd', + 'search.pyx', + 'session.pyx', 'sh.py', 'sphinxify.py', + 'stopgap.pyx', 'superseded.py', 'table.py', 'temporary_file.py', @@ -86,6 +116,7 @@ py.install_sources( 'verbose.py', 'viewer.py', 'weak_dict.pxd', + 'weak_dict.pyx', subdir: 'sage/misc', ) diff --git a/src/sage/modular/arithgroup/meson.build b/src/sage/modular/arithgroup/meson.build index 52475097b34..22d65ee7461 100644 --- a/src/sage/modular/arithgroup/meson.build +++ b/src/sage/modular/arithgroup/meson.build @@ -1,14 +1,16 @@ py.install_sources( - '__init__.py', 'all.py', + 'arithgroup_element.pyx', 'arithgroup_generic.py', 'arithgroup_perm.py', + 'congroup.pyx', 'congroup_gamma.py', 'congroup_gamma0.py', 'congroup_gamma1.py', 'congroup_gammaH.py', 'congroup_generic.py', 'congroup_sl2z.py', + 'farey_symbol.pyx', 'tests.py', subdir: 'sage/modular/arithgroup', ) diff --git a/src/sage/modular/meson.build b/src/sage/modular/meson.build index 8b7e48c94aa..437aab02090 100644 --- a/src/sage/modular/meson.build +++ b/src/sage/modular/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'all.py', 'buzzard.py', 'congroup.py', @@ -10,6 +9,7 @@ py.install_sources( 'dirichlet.py', 'etaproducts.py', 'hypergeometric_misc.pxd', + 'hypergeometric_misc.pyx', 'hypergeometric_motive.py', 'multiple_zeta.py', 'multiple_zeta_F_algebra.py', diff --git a/src/sage/modular/modform/meson.build b/src/sage/modular/modform/meson.build index 541227d9511..7130193305b 100644 --- a/src/sage/modular/modform/meson.build +++ b/src/sage/modular/modform/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'all.py', 'ambient.py', 'ambient_R.py', @@ -10,6 +9,7 @@ py.install_sources( 'cuspidal_submodule.py', 'defaults.py', 'eis_series.py', + 'eis_series_cython.pyx', 'eisenstein_submodule.py', 'element.py', 'find_generators.py', @@ -17,6 +17,7 @@ py.install_sources( 'hecke_operator_on_qexp.py', 'j_invariant.py', 'l_series_gross_zagier.py', + 'l_series_gross_zagier_coeffs.pyx', 'notes.py', 'numerical.py', 'periods.py', diff --git a/src/sage/modular/modsym/meson.build b/src/sage/modular/modsym/meson.build index 15851710402..c0c15f3b40e 100644 --- a/src/sage/modular/modsym/meson.build +++ b/src/sage/modular/modsym/meson.build @@ -1,20 +1,24 @@ py.install_sources( - '__init__.py', 'all.py', 'ambient.py', 'apply.pxd', + 'apply.pyx', 'boundary.py', 'element.py', 'g1list.py', 'ghlist.py', 'hecke_operator.py', + 'heilbronn.pyx', 'manin_symbol.pxd', + 'manin_symbol.pyx', 'manin_symbol_list.py', 'modsym.py', 'modular_symbols.py', 'p1list.pxd', + 'p1list.pyx', 'p1list_nf.py', 'relation_matrix.py', + 'relation_matrix_pyx.pyx', 'space.py', 'subspace.py', 'tests.py', diff --git a/src/sage/modular/pollack_stevens/meson.build b/src/sage/modular/pollack_stevens/meson.build index 0506a90ac83..7fd1f851568 100644 --- a/src/sage/modular/pollack_stevens/meson.build +++ b/src/sage/modular/pollack_stevens/meson.build @@ -1,7 +1,7 @@ py.install_sources( - '__init__.py', 'all.py', 'dist.pxd', + 'dist.pyx', 'distributions.py', 'fund_domain.py', 'manin_map.py', diff --git a/src/sage/modules/meson.build b/src/sage/modules/meson.build index c9591ad82da..6f2ed407ff2 100644 --- a/src/sage/modules/meson.build +++ b/src/sage/modules/meson.build @@ -1,12 +1,13 @@ py.install_sources( - '__init__.py', 'all.py', 'complex_double_vector.py', 'diamond_cutting.py', 'filtered_vector_space.py', 'finite_submodule_iter.pxd', + 'finite_submodule_iter.pyx', 'free_module.py', 'free_module_element.pxd', + 'free_module_element.pyx', 'free_module_homspace.py', 'free_module_integer.py', 'free_module_morphism.py', @@ -17,9 +18,11 @@ py.install_sources( 'matrix_morphism.py', 'misc.py', 'module.pxd', + 'module.pyx', 'module_functors.py', 'multi_filtered_vector_space.py', 'numpy_util.pxd', + 'numpy_util.pyx', 'ore_module.py', 'ore_module_element.py', 'ore_module_homspace.py', @@ -32,17 +35,29 @@ py.install_sources( 'tutorial_free_modules.py', 'vector_callable_symbolic_dense.py', 'vector_complex_double_dense.pxd', + 'vector_complex_double_dense.pyx', 'vector_double_dense.pxd', + 'vector_double_dense.pyx', 'vector_integer_dense.pxd', + 'vector_integer_dense.pyx', 'vector_integer_sparse.pxd', + 'vector_integer_sparse.pyx', 'vector_mod2_dense.pxd', + 'vector_mod2_dense.pyx', 'vector_modn_dense.pxd', + 'vector_modn_dense.pyx', 'vector_modn_sparse.pxd', + 'vector_modn_sparse.pyx', 'vector_numpy_dense.pxd', + 'vector_numpy_dense.pyx', 'vector_numpy_integer_dense.pxd', + 'vector_numpy_integer_dense.pyx', 'vector_rational_dense.pxd', + 'vector_rational_dense.pyx', 'vector_rational_sparse.pxd', + 'vector_rational_sparse.pyx', 'vector_real_double_dense.pxd', + 'vector_real_double_dense.pyx', 'vector_space_homspace.py', 'vector_space_morphism.py', 'vector_symbolic_dense.py', diff --git a/src/sage/modules/with_basis/meson.build b/src/sage/modules/with_basis/meson.build index 7dc1dda551b..43f123e8b93 100644 --- a/src/sage/modules/with_basis/meson.build +++ b/src/sage/modules/with_basis/meson.build @@ -1,8 +1,8 @@ py.install_sources( - '__init__.py', 'all.py', 'cell_module.py', 'indexed_element.pxd', + 'indexed_element.pyx', 'invariant.py', 'morphism.py', 'representation.py', diff --git a/src/sage/monoids/meson.build b/src/sage/monoids/meson.build index 5f785b5b257..2132f0676e5 100644 --- a/src/sage/monoids/meson.build +++ b/src/sage/monoids/meson.build @@ -1,9 +1,9 @@ py.install_sources( - '__init__.py', 'all.py', 'automatic_semigroup.py', 'free_abelian_monoid.py', 'free_abelian_monoid_element.pxd', + 'free_abelian_monoid_element.pyx', 'free_monoid.py', 'free_monoid_element.py', 'hecke_monoid.py', diff --git a/src/sage/numerical/backends/meson.build b/src/sage/numerical/backends/meson.build index 41c64b1af20..a4125afdeee 100644 --- a/src/sage/numerical/backends/meson.build +++ b/src/sage/numerical/backends/meson.build @@ -2,26 +2,37 @@ glpk = cc.find_library('glpk', required: not is_windows, disabler: true) py.install_sources( - '__init__.py', 'all.py', 'all__sagemath_polyhedra.py', + 'cvxopt_backend.pyx', 'cvxopt_backend_test.py', + 'cvxopt_sdp_backend.pyx', 'cvxpy_backend.pxd', + 'cvxpy_backend.pyx', 'cvxpy_backend_test.py', 'generic_backend.pxd', + 'generic_backend.pyx', 'generic_backend_test.py', 'generic_sdp_backend.pxd', + 'generic_sdp_backend.pyx', 'glpk_backend.pxd', + 'glpk_backend.pyx', 'glpk_backend_test.py', 'glpk_exact_backend.pxd', + 'glpk_exact_backend.pyx', 'glpk_exact_backend_test.py', 'glpk_graph_backend.pxd', + 'glpk_graph_backend.pyx', 'interactivelp_backend.pxd', + 'interactivelp_backend.pyx', 'interactivelp_backend_test.py', 'logging_backend.py', 'matrix_sdp_backend.pxd', + 'matrix_sdp_backend.pyx', + 'ppl_backend.pyx', 'ppl_backend_test.py', 'scip_backend.pxd', + 'scip_backend.pyx', 'scip_backend_test.py', subdir: 'sage/numerical/backends', ) diff --git a/src/sage/numerical/meson.build b/src/sage/numerical/meson.build index 91257af0880..56d8023272e 100644 --- a/src/sage/numerical/meson.build +++ b/src/sage/numerical/meson.build @@ -1,16 +1,20 @@ py.install_sources( - '__init__.py', 'all.py', 'all__sagemath_polyhedra.py', + 'gauss_legendre.pyx', 'interactive_simplex_method.py', 'knapsack.py', 'linear_functions.pxd', + 'linear_functions.pyx', 'linear_tensor.py', 'linear_tensor_constraints.py', 'linear_tensor_element.pxd', + 'linear_tensor_element.pyx', 'mip.pxd', + 'mip.pyx', 'optimize.py', 'sdp.pxd', + 'sdp.pyx', subdir: 'sage/numerical', ) diff --git a/src/sage/plot/meson.build b/src/sage/plot/meson.build index 6b07871a2bd..3cc02fcdeaf 100644 --- a/src/sage/plot/meson.build +++ b/src/sage/plot/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'all.py', 'animate.py', 'arc.py', @@ -8,6 +7,7 @@ py.install_sources( 'bezier_path.py', 'circle.py', 'colors.py', + 'complex_plot.pyx', 'contour_plot.py', 'density_plot.py', 'disk.py', diff --git a/src/sage/plot/plot3d/meson.build b/src/sage/plot/plot3d/meson.build index e7433d8b69c..7d58a7cb351 100644 --- a/src/sage/plot/plot3d/meson.build +++ b/src/sage/plot/plot3d/meson.build @@ -1,22 +1,27 @@ py.install_sources( - '__init__.py', 'all.py', 'base.pxd', + 'base.pyx', 'implicit_plot3d.py', + 'implicit_surface.pyx', 'index_face_set.pxd', + 'index_face_set.pyx', 'introduction.py', 'list_plot3d.py', 'parametric_plot3d.py', 'parametric_surface.pxd', + 'parametric_surface.pyx', 'platonic.py', 'plot3d.py', 'plot_field3d.py', 'revolution_plot3d.py', 'shapes.pxd', + 'shapes.pyx', 'shapes2.py', 'tachyon.py', 'texture.py', 'transform.pxd', + 'transform.pyx', 'tri_plot.py', subdir: 'sage/plot/plot3d', ) diff --git a/src/sage/probability/meson.build b/src/sage/probability/meson.build index 2981a7496c4..e59d39767f9 100644 --- a/src/sage/probability/meson.build +++ b/src/sage/probability/meson.build @@ -1,6 +1,6 @@ py.install_sources( - '__init__.py', 'all.py', + 'probability_distribution.pyx', 'random_variable.py', subdir: 'sage/probability', ) diff --git a/src/sage/quadratic_forms/meson.build b/src/sage/quadratic_forms/meson.build index 3208c9f15f6..e292513624f 100644 --- a/src/sage/quadratic_forms/meson.build +++ b/src/sage/quadratic_forms/meson.build @@ -1,15 +1,16 @@ py.install_sources( - '__init__.py', 'all.py', 'binary_qf.py', 'bqf_class_group.py', 'constructions.py', + 'count_local_2.pyx', 'extras.py', 'qfsolve.py', 'quadratic_form.py', 'quadratic_form__automorphisms.py', 'quadratic_form__count_local_2.py', 'quadratic_form__equivalence_testing.py', + 'quadratic_form__evaluate.pyx', 'quadratic_form__genus.py', 'quadratic_form__local_density_congruence.py', 'quadratic_form__local_density_interfaces.py', @@ -28,6 +29,7 @@ py.install_sources( 'quadratic_form__variable_substitutions.py', 'random_quadraticform.py', 'special_values.py', + 'ternary.pyx', 'ternary_qf.py', subdir: 'sage/quadratic_forms', ) diff --git a/src/sage/quivers/meson.build b/src/sage/quivers/meson.build index aa6d757721d..01b6127e16e 100644 --- a/src/sage/quivers/meson.build +++ b/src/sage/quivers/meson.build @@ -1,13 +1,14 @@ py.install_sources( - '__init__.py', 'algebra.py', 'algebra_elements.pxd', + 'algebra_elements.pyx', 'all.py', 'ar_quiver.py', 'homspace.py', 'morphism.py', 'path_semigroup.py', 'paths.pxd', + 'paths.pyx', 'representation.py', subdir: 'sage/quivers', ) diff --git a/src/sage/rings/convert/meson.build b/src/sage/rings/convert/meson.build index e1b8654f6c0..ff2afdd77dd 100644 --- a/src/sage/rings/convert/meson.build +++ b/src/sage/rings/convert/meson.build @@ -1,7 +1,7 @@ py.install_sources( - '__init__.py', 'all.py', 'mpfi.pxd', + 'mpfi.pyx', subdir: 'sage/rings/convert', ) diff --git a/src/sage/rings/finite_rings/meson.build b/src/sage/rings/finite_rings/meson.build index 7e6c338636f..24072cec8e5 100644 --- a/src/sage/rings/finite_rings/meson.build +++ b/src/sage/rings/finite_rings/meson.build @@ -1,12 +1,16 @@ py.install_sources( - '__init__.py', 'all.py', 'conway_polynomials.py', 'element_base.pxd', + 'element_base.pyx', 'element_givaro.pxd', + 'element_givaro.pyx', 'element_ntl_gf2e.pxd', + 'element_ntl_gf2e.pyx', 'element_pari_ffelt.pxd', + 'element_pari_ffelt.pyx', 'finite_field_base.pxd', + 'finite_field_base.pyx', 'finite_field_constructor.py', 'finite_field_givaro.py', 'finite_field_ntl_gf2e.py', @@ -14,14 +18,22 @@ py.install_sources( 'finite_field_prime_modn.py', 'galois_group.py', 'hom_finite_field.pxd', + 'hom_finite_field.pyx', 'hom_finite_field_givaro.pxd', + 'hom_finite_field_givaro.pyx', 'hom_prime_finite_field.pxd', + 'hom_prime_finite_field.pyx', 'homset.py', 'integer_mod.pxd', + 'integer_mod.pyx', 'integer_mod_limits.h', 'integer_mod_ring.py', 'maps_finite_field.py', 'residue_field.pxd', + 'residue_field.pyx', + 'residue_field_givaro.pyx', + 'residue_field_ntl_gf2e.pyx', + 'residue_field_pari_ffelt.pyx', 'stdint.pxd', subdir: 'sage/rings/finite_rings', ) diff --git a/src/sage/rings/function_field/meson.build b/src/sage/rings/function_field/meson.build index 6fc7af00954..31dcd509d3e 100644 --- a/src/sage/rings/function_field/meson.build +++ b/src/sage/rings/function_field/meson.build @@ -1,5 +1,4 @@ py.install_sources( - '__init__.py', 'all.py', 'constructor.py', 'derivations.py', @@ -8,17 +7,22 @@ py.install_sources( 'differential.py', 'divisor.py', 'element.pxd', + 'element.pyx', + 'element_polymod.pyx', + 'element_rational.pyx', 'extensions.py', 'function_field.py', 'function_field_polymod.py', 'function_field_rational.py', 'function_field_test.py', + 'hermite_form_polynomial.pyx', 'ideal.py', 'ideal_polymod.py', 'ideal_rational.py', 'jacobian_base.py', 'jacobian_hess.py', 'jacobian_khuri_makdisi.py', + 'khuri_makdisi.pyx', 'maps.py', 'order.py', 'order_basis.py', diff --git a/src/sage/rings/meson.build b/src/sage/rings/meson.build index 55a99548aca..61149c487dd 100644 --- a/src/sage/rings/meson.build +++ b/src/sage/rings/meson.build @@ -1,27 +1,41 @@ py.install_sources( - '__init__.py', 'abc.pxd', + 'abc.pyx', 'algebraic_closure_finite_field.py', 'all.py', 'all__sagemath_objects.py', + 'bernmm.pyx', + 'bernoulli_mod_p.pyx', 'big_oh.py', 'cc.py', 'cfinite_sequence.py', 'cif.py', 'commutative_algebra.py', 'complex_arb.pxd', + 'complex_arb.pyx', 'complex_conversion.pxd', + 'complex_conversion.pyx', 'complex_double.pxd', + 'complex_double.pyx', 'complex_interval.pxd', + 'complex_interval.pyx', 'complex_interval_field.py', 'complex_mpc.pxd', + 'complex_mpc.pyx', 'complex_mpfr.pxd', + 'complex_mpfr.pyx', 'continued_fraction.py', 'continued_fraction_gosper.py', 'derivation.py', + 'factorint.pyx', + 'factorint_flint.pyx', + 'factorint_pari.pyx', 'fast_arith.pxd', + 'fast_arith.pyx', 'fraction_field.py', 'fraction_field_FpT.pxd', + 'fraction_field_FpT.pyx', + 'fraction_field_element.pyx', 'generic.py', 'homset.py', 'ideal.py', @@ -36,23 +50,31 @@ py.install_sources( 'integer_ring.pyx', 'laurent_series_ring.py', 'laurent_series_ring_element.pxd', + 'laurent_series_ring_element.pyx', 'lazy_series.py', 'lazy_series_ring.py', 'lazy_species.py', 'localization.py', 'monomials.py', 'morphism.pxd', + 'morphism.pyx', 'multi_power_series_ring.py', 'multi_power_series_ring_element.py', + 'noncommutative_ideals.pyx', 'numbers_abc.py', 'pari_ring.py', 'power_series_mpoly.pxd', + 'power_series_mpoly.pyx', 'power_series_pari.pxd', + 'power_series_pari.pyx', 'power_series_poly.pxd', + 'power_series_poly.pyx', 'power_series_ring.py', 'power_series_ring_element.pxd', + 'power_series_ring_element.pyx', 'puiseux_series_ring.py', 'puiseux_series_ring_element.pxd', + 'puiseux_series_ring_element.pyx', 'qqbar.py', 'qqbar_decorators.py', 'quotient_ring.py', @@ -61,23 +83,38 @@ py.install_sources( 'rational.pyx', 'rational_field.py', 'real_arb.pxd', + 'real_arb.pyx', 'real_double.pxd', + 'real_double.pyx', 'real_double_element_gsl.pxd', + 'real_double_element_gsl.pyx', 'real_field.py', + 'real_interval_absolute.pyx', 'real_lazy.pxd', + 'real_lazy.pyx', 'real_mpfi.pxd', + 'real_mpfi.pyx', 'real_mpfr.pxd', + 'real_mpfr.pyx', 'ring.pxd', + 'ring.pyx', 'ring_extension.pxd', + 'ring_extension.pyx', 'ring_extension_conversion.pxd', + 'ring_extension_conversion.pyx', 'ring_extension_element.pxd', + 'ring_extension_element.pyx', 'ring_extension_homset.py', 'ring_extension_morphism.pxd', + 'ring_extension_morphism.pyx', 'species.py', 'sum_of_squares.pxd', + 'sum_of_squares.pyx', 'tate_algebra.py', 'tate_algebra_element.pxd', + 'tate_algebra_element.pyx', 'tate_algebra_ideal.pxd', + 'tate_algebra_ideal.pyx', 'tests.py', 'universal_cyclotomic_field.py', subdir: 'sage/rings', diff --git a/src/sage/rings/number_field/meson.build b/src/sage/rings/number_field/meson.build index 5b612679d40..1c8d9a88875 100644 --- a/src/sage/rings/number_field/meson.build +++ b/src/sage/rings/number_field/meson.build @@ -1,6 +1,5 @@ py.install_sources( 'S_unit_solver.py', - '__init__.py', 'all.py', 'bdd_height.py', 'class_group.py', @@ -10,11 +9,16 @@ py.install_sources( 'morphism.py', 'number_field.py', 'number_field_base.pxd', + 'number_field_base.pyx', 'number_field_element.pxd', + 'number_field_element.pyx', 'number_field_element_base.pxd', + 'number_field_element_base.pyx', 'number_field_element_quadratic.pxd', + 'number_field_element_quadratic.pyx', 'number_field_ideal.py', 'number_field_ideal_rel.py', + 'number_field_morphisms.pyx', 'number_field_rel.py', 'order.py', 'order_ideal.py', @@ -22,7 +26,9 @@ py.install_sources( 'small_primes_of_degree_one.py', 'splitting_field.py', 'structure.py', + 'totallyreal.pyx', 'totallyreal_data.pxd', + 'totallyreal_data.pyx', 'totallyreal_phc.py', 'totallyreal_rel.py', 'unit_group.py', diff --git a/src/sage/rings/padics/meson.build b/src/sage/rings/padics/meson.build index d99a0cda7f6..a5ea244923b 100644 --- a/src/sage/rings/padics/meson.build +++ b/src/sage/rings/padics/meson.build @@ -1,54 +1,81 @@ py.install_sources( - '__init__.py', 'all.py', 'common_conversion.pxd', + 'common_conversion.pyx', 'eisenstein_extension_generic.py', 'factory.py', 'generic_nodes.py', 'lattice_precision.py', 'local_generic.py', 'local_generic_element.pxd', + 'local_generic_element.pyx', 'misc.py', 'morphism.pxd', + 'morphism.pyx', 'padic_ZZ_pX_CA_element.pxd', + 'padic_ZZ_pX_CA_element.pyx', 'padic_ZZ_pX_CR_element.pxd', + 'padic_ZZ_pX_CR_element.pyx', 'padic_ZZ_pX_FM_element.pxd', + 'padic_ZZ_pX_FM_element.pyx', 'padic_ZZ_pX_element.pxd', + 'padic_ZZ_pX_element.pyx', 'padic_base_generic.py', 'padic_base_leaves.py', 'padic_capped_absolute_element.pxd', + 'padic_capped_absolute_element.pyx', 'padic_capped_relative_element.pxd', + 'padic_capped_relative_element.pyx', 'padic_ext_element.pxd', + 'padic_ext_element.pyx', 'padic_extension_generic.py', 'padic_extension_leaves.py', 'padic_fixed_mod_element.pxd', + 'padic_fixed_mod_element.pyx', 'padic_floating_point_element.pxd', + 'padic_floating_point_element.pyx', 'padic_generic.py', 'padic_generic_element.pxd', + 'padic_generic_element.pyx', 'padic_lattice_element.py', 'padic_printing.pxd', + 'padic_printing.pyx', 'padic_relaxed_element.pxd', + 'padic_relaxed_element.pyx', 'padic_relaxed_errors.pxd', + 'padic_relaxed_errors.pyx', 'padic_valuation.py', 'pow_computer.pxd', + 'pow_computer.pyx', 'pow_computer_ext.pxd', + 'pow_computer_ext.pyx', 'pow_computer_flint.pxd', + 'pow_computer_flint.pyx', 'pow_computer_relative.pxd', + 'pow_computer_relative.pyx', 'precision_error.py', 'qadic_flint_CA.pxd', + 'qadic_flint_CA.pyx', 'qadic_flint_CR.pxd', + 'qadic_flint_CR.pyx', 'qadic_flint_FM.pxd', + 'qadic_flint_FM.pyx', 'qadic_flint_FP.pxd', + 'qadic_flint_FP.pyx', 'relative_extension_leaves.py', 'relative_ramified_CA.pxd', + 'relative_ramified_CA.pyx', 'relative_ramified_CR.pxd', + 'relative_ramified_CR.pyx', 'relative_ramified_FM.pxd', + 'relative_ramified_FM.pyx', 'relative_ramified_FP.pxd', + 'relative_ramified_FP.pyx', 'tests.py', 'tutorial.py', 'unramified_extension_generic.py', - 'witt_vector_ring.py', 'witt_vector.py', + 'witt_vector_ring.py', subdir: 'sage/rings/padics', ) diff --git a/src/sage/rings/polynomial/meson.build b/src/sage/rings/polynomial/meson.build index e7de57dc2fb..2c0435a0ef1 100644 --- a/src/sage/rings/polynomial/meson.build +++ b/src/sage/rings/polynomial/meson.build @@ -1,66 +1,98 @@ py.install_sources( - '__init__.py', 'all.py', 'binary_form_reduce.py', 'commutative_polynomial.pxd', + 'commutative_polynomial.pyx', 'complex_roots.py', 'convolution.py', + 'cyclotomic.pyx', 'evaluation.pxd', 'evaluation_flint.pxd', + 'evaluation_flint.pyx', 'evaluation_ntl.pxd', + 'evaluation_ntl.pyx', 'flatten.py', 'groebner_fan.py', + 'hilbert.pyx', 'ideal.py', 'infinite_polynomial_element.py', 'infinite_polynomial_ring.py', 'integer_valued_polynomials.py', 'laurent_polynomial.pxd', + 'laurent_polynomial.pyx', 'laurent_polynomial_ideal.py', 'laurent_polynomial_mpair.pxd', + 'laurent_polynomial_mpair.pyx', 'laurent_polynomial_ring.py', 'laurent_polynomial_ring_base.py', 'msolve.py', 'multi_polynomial.pxd', + 'multi_polynomial.pyx', 'multi_polynomial_element.py', 'multi_polynomial_ideal.py', 'multi_polynomial_ideal_libsingular.pxd', + 'multi_polynomial_ideal_libsingular.pyx', 'multi_polynomial_libsingular.pxd', + 'multi_polynomial_libsingular.pyx', 'multi_polynomial_ring.py', 'multi_polynomial_ring_base.pxd', + 'multi_polynomial_ring_base.pyx', 'multi_polynomial_sequence.py', 'omega.py', 'ore_function_element.py', 'ore_function_field.py', 'ore_polynomial_element.pxd', + 'ore_polynomial_element.pyx', 'ore_polynomial_ring.py', 'plural.pxd', + 'plural.pyx', 'polydict.pxd', + 'polydict.pyx', 'polynomial_compiled.pxd', + 'polynomial_compiled.pyx', 'polynomial_complex_arb.pxd', + 'polynomial_complex_arb.pyx', 'polynomial_element.pxd', + 'polynomial_element.pyx', 'polynomial_element_generic.py', 'polynomial_fateman.py', 'polynomial_gf2x.pxd', + 'polynomial_gf2x.pyx', 'polynomial_integer_dense_flint.pxd', + 'polynomial_integer_dense_flint.pyx', 'polynomial_integer_dense_ntl.pxd', + 'polynomial_integer_dense_ntl.pyx', 'polynomial_modn_dense_ntl.pxd', + 'polynomial_modn_dense_ntl.pyx', + 'polynomial_number_field.pyx', 'polynomial_quotient_ring.py', 'polynomial_quotient_ring_element.py', 'polynomial_rational_flint.pxd', + 'polynomial_rational_flint.pyx', + 'polynomial_real_mpfr_dense.pyx', 'polynomial_ring.py', 'polynomial_ring_constructor.py', 'polynomial_ring_homomorphism.pxd', + 'polynomial_ring_homomorphism.pyx', 'polynomial_singular_interface.py', 'polynomial_zmod_flint.pxd', + 'polynomial_zmod_flint.pyx', 'polynomial_zz_pex.pxd', + 'polynomial_zz_pex.pyx', 'q_integer_valued_polynomials.py', 'real_roots.pxd', + 'real_roots.pyx', + 'refine_root.pyx', 'skew_polynomial_element.pxd', + 'skew_polynomial_element.pyx', 'skew_polynomial_finite_field.pxd', + 'skew_polynomial_finite_field.pyx', 'skew_polynomial_finite_order.pxd', + 'skew_polynomial_finite_order.pyx', 'skew_polynomial_ring.py', 'symmetric_ideal.py', 'symmetric_reduction.pxd', + 'symmetric_reduction.pyx', 'term_order.py', 'toy_buchberger.py', 'toy_d_basis.py', diff --git a/src/sage/rings/polynomial/pbori/meson.build b/src/sage/rings/polynomial/pbori/meson.build index 557eda27a79..bff10fb010f 100644 --- a/src/sage/rings/polynomial/pbori/meson.build +++ b/src/sage/rings/polynomial/pbori/meson.build @@ -23,6 +23,7 @@ py.install_sources( 'nf.py', 'parallel.py', 'pbori.pxd', + 'pbori.pyx', 'randompoly.py', 'rank.py', 'specialsets.py', diff --git a/src/sage/rings/polynomial/weil/meson.build b/src/sage/rings/polynomial/weil/meson.build index 77432ffef30..f19b4d1464d 100644 --- a/src/sage/rings/polynomial/weil/meson.build +++ b/src/sage/rings/polynomial/weil/meson.build @@ -1,7 +1,7 @@ py.install_sources( - '__init__.py', 'all.py', 'power_sums.h', + 'weil_polynomials.pyx', subdir: 'sage/rings/polynomial/weil', ) diff --git a/src/sage/rings/semirings/meson.build b/src/sage/rings/semirings/meson.build index 6cbfce4f84c..42e3bf220d8 100644 --- a/src/sage/rings/semirings/meson.build +++ b/src/sage/rings/semirings/meson.build @@ -1,9 +1,9 @@ py.install_sources( - '__init__.py', 'all.py', 'non_negative_integer_semiring.py', 'tropical_mpolynomial.py', 'tropical_polynomial.py', + 'tropical_semiring.pyx', 'tropical_variety.py', subdir: 'sage/rings/semirings', ) diff --git a/src/sage/sat/meson.build b/src/sage/sat/meson.build index 85d9be286e2..a1a0246dfce 100644 --- a/src/sage/sat/meson.build +++ b/src/sage/sat/meson.build @@ -1,9 +1,4 @@ -py.install_sources( - '__init__.py', - 'all.py', - 'boolean_polynomials.py', - subdir: 'sage/sat', -) +py.install_sources('all.py', 'boolean_polynomials.py', subdir: 'sage/sat') install_subdir('converters', install_dir: sage_install_dir / 'sat') subdir('solvers') diff --git a/src/sage/sat/solvers/meson.build b/src/sage/sat/solvers/meson.build index 86657c5c854..ef9d98ea04c 100644 --- a/src/sage/sat/solvers/meson.build +++ b/src/sage/sat/solvers/meson.build @@ -5,6 +5,7 @@ py.install_sources( 'picosat.py', 'sat_lp.py', 'satsolver.pxd', + 'satsolver.pyx', subdir: 'sage/sat/solvers', ) diff --git a/src/sage/schemes/elliptic_curves/meson.build b/src/sage/schemes/elliptic_curves/meson.build index 6aeb87c2446..28696121845 100644 --- a/src/sage/schemes/elliptic_curves/meson.build +++ b/src/sage/schemes/elliptic_curves/meson.build @@ -1,12 +1,12 @@ py.install_sources( 'BSD.py', 'Qcurves.py', - '__init__.py', 'addition_formulas_ring.py', 'all.py', 'cardinality.py', 'cm.py', 'constructor.py', + 'descent_two_isogeny.pyx', 'ec_database.py', 'ell_curve_isogeny.py', 'ell_egros.py', @@ -44,10 +44,12 @@ py.install_sources( 'lseries_ell.py', 'mod5family.py', 'mod_poly.py', + 'mod_sym_num.pyx', 'modular_parametrization.py', 'padic_lseries.py', 'padics.py', 'period_lattice.py', + 'period_lattice_region.pyx', 'saturation.py', 'sha_tate.py', 'weierstrass_morphism.py', diff --git a/src/sage/schemes/hyperelliptic_curves/meson.build b/src/sage/schemes/hyperelliptic_curves/meson.build index 170d08baaca..ca5a09c1975 100644 --- a/src/sage/schemes/hyperelliptic_curves/meson.build +++ b/src/sage/schemes/hyperelliptic_curves/meson.build @@ -1,8 +1,8 @@ inc_hypellfrob = include_directories('hypellfrob') py.install_sources( - '__init__.py', 'all.py', 'constructor.py', + 'hypellfrob.pyx', 'hyperelliptic_finite_field.py', 'hyperelliptic_g2.py', 'hyperelliptic_generic.py', diff --git a/src/sage/schemes/meson.build b/src/sage/schemes/meson.build index 4dac80900e9..c74c532b930 100644 --- a/src/sage/schemes/meson.build +++ b/src/sage/schemes/meson.build @@ -1,9 +1,4 @@ -py.install_sources( - '__init__.py', - 'all.py', - 'overview.py', - subdir: 'sage/schemes', -) +py.install_sources('all.py', 'overview.py', subdir: 'sage/schemes') install_subdir('affine', install_dir: sage_install_dir / 'schemes') install_subdir('berkovich', install_dir: sage_install_dir / 'schemes') diff --git a/src/sage/schemes/toric/meson.build b/src/sage/schemes/toric/meson.build index 0e85031ccf5..e6a170b55aa 100644 --- a/src/sage/schemes/toric/meson.build +++ b/src/sage/schemes/toric/meson.build @@ -1,8 +1,8 @@ py.install_sources( - '__init__.py', 'all.py', 'chow_group.py', 'divisor.py', + 'divisor_class.pyx', 'fano_variety.py', 'homset.py', 'ideal.py', diff --git a/src/sage/sets/meson.build b/src/sage/sets/meson.build index 92d4cb4cd17..2c58dcd53b0 100644 --- a/src/sage/sets/meson.build +++ b/src/sage/sets/meson.build @@ -1,14 +1,16 @@ py.install_sources( - '__init__.py', 'all.py', 'all__sagemath_objects.py', 'cartesian_product.py', 'condition_set.py', 'disjoint_set.pxd', + 'disjoint_set.pyx', 'disjoint_union_enumerated_sets.py', 'family.pxd', + 'family.pyx', 'finite_enumerated_set.py', 'finite_set_map_cy.pxd', + 'finite_set_map_cy.pyx', 'finite_set_maps.py', 'image_set.py', 'integer_range.py', @@ -16,8 +18,10 @@ py.install_sources( 'positive_integers.py', 'primes.py', 'pythonclass.pxd', + 'pythonclass.pyx', 'real_set.py', 'recursively_enumerated_set.pxd', + 'recursively_enumerated_set.pyx', 'set.py', 'set_from_iterator.py', 'totally_ordered_finite_set.py', diff --git a/src/sage/stats/distributions/meson.build b/src/sage/stats/distributions/meson.build index db152755b95..a17d29b5fae 100644 --- a/src/sage/stats/distributions/meson.build +++ b/src/sage/stats/distributions/meson.build @@ -1,9 +1,9 @@ py.install_sources( - '__init__.py', 'all.py', 'catalog.py', 'dgs.pxd', 'discrete_gaussian_integer.pxd', + 'discrete_gaussian_integer.pyx', 'discrete_gaussian_lattice.py', 'discrete_gaussian_polynomial.py', subdir: 'sage/stats/distributions', diff --git a/src/sage/stats/hmm/meson.build b/src/sage/stats/hmm/meson.build index 661c578252e..87e3900af5b 100644 --- a/src/sage/stats/hmm/meson.build +++ b/src/sage/stats/hmm/meson.build @@ -1,9 +1,12 @@ py.install_sources( - '__init__.py', 'all.py', + 'chmm.pyx', 'distributions.pxd', + 'distributions.pyx', 'hmm.pxd', + 'hmm.pyx', 'util.pxd', + 'util.pyx', subdir: 'sage/stats/hmm', ) diff --git a/src/sage/stats/meson.build b/src/sage/stats/meson.build index 02cf46408b5..1b6746fb286 100644 --- a/src/sage/stats/meson.build +++ b/src/sage/stats/meson.build @@ -1,10 +1,11 @@ py.install_sources( - '__init__.py', 'all.py', 'basic_stats.py', 'intlist.pxd', + 'intlist.pyx', 'r.py', 'time_series.pxd', + 'time_series.pyx', subdir: 'sage/stats', ) diff --git a/src/sage/structure/meson.build b/src/sage/structure/meson.build index 9d0076ef53d..74de406646c 100644 --- a/src/sage/structure/meson.build +++ b/src/sage/structure/meson.build @@ -2,31 +2,50 @@ py.install_sources( '__init__.py', 'all.py', 'category_object.pxd', + 'category_object.pyx', 'coerce.pxd', + 'coerce.pyx', 'coerce_actions.pxd', + 'coerce_actions.pyx', 'coerce_dict.pxd', + 'coerce_dict.pyx', 'coerce_exceptions.py', 'coerce_maps.pxd', + 'coerce_maps.pyx', 'debug_options.pxd', + 'debug_options.pyx', 'dynamic_class.py', 'element.pxd', + 'element.pyx', 'element_wrapper.pxd', + 'element_wrapper.pyx', 'factorization.py', 'factorization_integer.py', + 'factory.pyx', 'formal_sum.py', 'gens_py.py', 'global_options.py', 'indexed_generators.py', 'list_clone.pxd', + 'list_clone.pyx', + 'list_clone_demo.pyx', 'list_clone_timings.py', + 'list_clone_timings_cy.pyx', 'mutability.pxd', + 'mutability.pyx', 'nonexact.py', 'parent.pxd', + 'parent.pyx', 'parent_base.pxd', + 'parent_base.pyx', 'parent_gens.pxd', + 'parent_gens.pyx', 'parent_old.pxd', + 'parent_old.pyx', 'richcmp.pxd', + 'richcmp.pyx', 'sage_object.pxd', + 'sage_object.pyx', 'sage_object_test.py', 'sequence.py', 'set_factories.py', diff --git a/src/sage/symbolic/meson.build b/src/sage/symbolic/meson.build index 3d3bbc67afc..b61bcb451d1 100644 --- a/src/sage/symbolic/meson.build +++ b/src/sage/symbolic/meson.build @@ -2,7 +2,6 @@ inc_ginac = include_directories('ginac') inc_pynac = include_directories('.') py.install_sources( - '__init__.py', 'all.py', 'assumptions.py', 'benchmark.py', @@ -10,10 +9,12 @@ py.install_sources( 'complexity_measures.py', 'constants.py', 'expression.pxd', + 'expression.pyx', 'expression_conversion_algebraic.py', 'expression_conversion_sympy.py', 'expression_conversions.py', 'function.pxd', + 'function.pyx', 'function_factory.py', 'maxima_wrapper.py', 'operators.py', @@ -21,6 +22,7 @@ py.install_sources( 'random_tests.py', 'relation.py', 'ring.pxd', + 'ring.pyx', 'subring.py', 'symbols.py', 'symengine.py', diff --git a/src/sage/tests/meson.build b/src/sage/tests/meson.build index 01a4fd3f24d..a76a068cf60 100644 --- a/src/sage/tests/meson.build +++ b/src/sage/tests/meson.build @@ -8,6 +8,7 @@ py.install_sources( 'book_stein_ent.py', 'book_stein_modform.py', 'combinatorial_hopf_algebras.py', + 'cython.pyx', 'finite_poset.py', 'functools_partial_src.py', 'gosper-sum.py', @@ -16,6 +17,7 @@ py.install_sources( 'numpy.py', 'parigp.py', 'startup.py', + 'stl_vector.pyx', 'symbolic-series.py', 'sympy.py', 'test_deprecation.py', diff --git a/tools/update-meson.py b/tools/update-meson.py index 09b08d30a9c..8b8deff6740 100755 --- a/tools/update-meson.py +++ b/tools/update-meson.py @@ -88,7 +88,7 @@ def update_python_sources(self: Rewriter, visitor: AstPython): folder = Path(target.filename).parent python_files = sorted( - list(folder.glob("*.py")) + list(folder.glob('*.pxd')) + list(folder.glob("*.py")) + list(folder.glob('*.pxd')) + list(folder.glob('*.pyx')) ) # + list(folder.glob('*.pxd')) + list(folder.glob('*.h'))) to_append: list[StringNode] = [] From 1b98385e79b440e66f8b8a210699fc65f84e5f84 Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Tue, 26 Aug 2025 12:10:16 +0200 Subject: [PATCH 4/5] Restore __init__.py installation --- src/sage/algebras/finite_dimensional_algebras/meson.build | 1 + src/sage/algebras/fusion_rings/meson.build | 1 + src/sage/algebras/letterplace/meson.build | 1 + src/sage/algebras/lie_algebras/meson.build | 1 + src/sage/algebras/meson.build | 1 + src/sage/algebras/quatalg/meson.build | 1 + src/sage/arith/meson.build | 1 + src/sage/calculus/meson.build | 1 + src/sage/calculus/transforms/meson.build | 1 + src/sage/categories/examples/meson.build | 1 + src/sage/categories/meson.build | 1 + src/sage/coding/codecan/meson.build | 1 + src/sage/coding/meson.build | 1 + src/sage/combinat/crystals/meson.build | 1 + src/sage/combinat/designs/meson.build | 1 + src/sage/combinat/matrices/meson.build | 1 + src/sage/combinat/meson.build | 1 + src/sage/combinat/posets/meson.build | 1 + src/sage/combinat/rigged_configurations/meson.build | 1 + src/sage/combinat/root_system/meson.build | 1 + src/sage/combinat/words/meson.build | 1 + src/sage/data_structures/meson.build | 1 + src/sage/dynamics/arithmetic_dynamics/meson.build | 1 + src/sage/dynamics/complex_dynamics/meson.build | 1 + src/sage/dynamics/meson.build | 1 + src/sage/ext/meson.build | 1 + src/sage/functions/meson.build | 1 + src/sage/games/meson.build | 1 + src/sage/geometry/meson.build | 1 + .../polyhedron/combinatorial_polyhedron/meson.build | 1 + src/sage/geometry/polyhedron/meson.build | 1 + src/sage/geometry/triangulation/meson.build | 1 + src/sage/graphs/base/meson.build | 1 + src/sage/graphs/generators/meson.build | 1 + src/sage/graphs/graph_decompositions/meson.build | 1 + src/sage/graphs/meson.build | 1 + src/sage/groups/matrix_gps/meson.build | 1 + src/sage/groups/meson.build | 1 + src/sage/groups/perm_gps/meson.build | 1 + src/sage/groups/perm_gps/partn_ref/meson.build | 1 + src/sage/groups/perm_gps/partn_ref2/meson.build | 1 + src/sage/groups/semimonomial_transformations/meson.build | 1 + src/sage/interacts/meson.build | 1 + src/sage/interfaces/meson.build | 1 + src/sage/lfunctions/meson.build | 1 + src/sage/libs/gap/meson.build | 1 + src/sage/libs/meson.build | 1 + src/sage/matrix/meson.build | 1 + src/sage/matroids/meson.build | 1 + src/sage/meson.build | 1 + src/sage/misc/meson.build | 1 + src/sage/modular/arithgroup/meson.build | 1 + src/sage/modular/meson.build | 1 + src/sage/modular/modform/meson.build | 1 + src/sage/modular/modsym/meson.build | 1 + src/sage/modular/pollack_stevens/meson.build | 1 + src/sage/modules/meson.build | 1 + src/sage/modules/with_basis/meson.build | 1 + src/sage/monoids/meson.build | 1 + src/sage/numerical/backends/meson.build | 1 + src/sage/numerical/meson.build | 1 + src/sage/plot/meson.build | 1 + src/sage/plot/plot3d/meson.build | 1 + src/sage/probability/meson.build | 1 + src/sage/quadratic_forms/meson.build | 1 + src/sage/quivers/meson.build | 1 + src/sage/rings/convert/meson.build | 1 + src/sage/rings/finite_rings/meson.build | 1 + src/sage/rings/function_field/meson.build | 1 + src/sage/rings/meson.build | 1 + src/sage/rings/number_field/meson.build | 1 + src/sage/rings/padics/meson.build | 1 + src/sage/rings/polynomial/meson.build | 1 + src/sage/rings/polynomial/weil/meson.build | 1 + src/sage/rings/semirings/meson.build | 1 + src/sage/sat/meson.build | 7 ++++++- src/sage/schemes/elliptic_curves/meson.build | 1 + src/sage/schemes/hyperelliptic_curves/meson.build | 1 + src/sage/schemes/meson.build | 7 ++++++- src/sage/schemes/toric/meson.build | 1 + src/sage/sets/meson.build | 1 + src/sage/stats/distributions/meson.build | 1 + src/sage/stats/hmm/meson.build | 1 + src/sage/stats/meson.build | 1 + src/sage/symbolic/meson.build | 1 + 85 files changed, 95 insertions(+), 2 deletions(-) diff --git a/src/sage/algebras/finite_dimensional_algebras/meson.build b/src/sage/algebras/finite_dimensional_algebras/meson.build index 67634821da6..5cf644da91b 100644 --- a/src/sage/algebras/finite_dimensional_algebras/meson.build +++ b/src/sage/algebras/finite_dimensional_algebras/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'finite_dimensional_algebra.py', 'finite_dimensional_algebra_element.pxd', diff --git a/src/sage/algebras/fusion_rings/meson.build b/src/sage/algebras/fusion_rings/meson.build index f1dbb811de4..4dec6963a36 100644 --- a/src/sage/algebras/fusion_rings/meson.build +++ b/src/sage/algebras/fusion_rings/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'f_matrix.py', 'fast_parallel_fmats_methods.pxd', diff --git a/src/sage/algebras/letterplace/meson.build b/src/sage/algebras/letterplace/meson.build index 1888e429ee6..48e574c8383 100644 --- a/src/sage/algebras/letterplace/meson.build +++ b/src/sage/algebras/letterplace/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'free_algebra_element_letterplace.pxd', 'free_algebra_element_letterplace.pyx', diff --git a/src/sage/algebras/lie_algebras/meson.build b/src/sage/algebras/lie_algebras/meson.build index c0867e30814..b08b21eaf80 100644 --- a/src/sage/algebras/lie_algebras/meson.build +++ b/src/sage/algebras/lie_algebras/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'abelian.py', 'affine_lie_algebra.py', 'all.py', diff --git a/src/sage/algebras/meson.build b/src/sage/algebras/meson.build index 11b306b1ecd..59262513251 100644 --- a/src/sage/algebras/meson.build +++ b/src/sage/algebras/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'affine_nil_temperley_lieb.py', 'all.py', 'askey_wilson.py', diff --git a/src/sage/algebras/quatalg/meson.build b/src/sage/algebras/quatalg/meson.build index 55a751b40b0..607ed67536d 100644 --- a/src/sage/algebras/quatalg/meson.build +++ b/src/sage/algebras/quatalg/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'quaternion_algebra.py', 'quaternion_algebra_cython.pyx', diff --git a/src/sage/arith/meson.build b/src/sage/arith/meson.build index 74549ce95d8..0fe3d87ffbe 100644 --- a/src/sage/arith/meson.build +++ b/src/sage/arith/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'all__sagemath_objects.py', 'constants.pxd', diff --git a/src/sage/calculus/meson.build b/src/sage/calculus/meson.build index 69da6a0741e..60f5cac8614 100644 --- a/src/sage/calculus/meson.build +++ b/src/sage/calculus/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'calculus.py', 'desolvers.py', diff --git a/src/sage/calculus/transforms/meson.build b/src/sage/calculus/transforms/meson.build index f1b48ed0f56..3876840f7cc 100644 --- a/src/sage/calculus/transforms/meson.build +++ b/src/sage/calculus/transforms/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'dft.py', 'dwt.pxd', diff --git a/src/sage/categories/examples/meson.build b/src/sage/categories/examples/meson.build index f3541f824eb..41580a11cca 100644 --- a/src/sage/categories/examples/meson.build +++ b/src/sage/categories/examples/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'algebras_with_basis.py', 'all.py', 'commutative_additive_monoids.py', diff --git a/src/sage/categories/meson.build b/src/sage/categories/meson.build index 37aa35f6c50..7e33a13ae51 100644 --- a/src/sage/categories/meson.build +++ b/src/sage/categories/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'action.pxd', 'action.pyx', 'additive_groups.py', diff --git a/src/sage/coding/codecan/meson.build b/src/sage/coding/codecan/meson.build index cc580108176..67e74deea79 100644 --- a/src/sage/coding/codecan/meson.build +++ b/src/sage/coding/codecan/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'autgroup_can_label.pyx', 'codecan.pxd', diff --git a/src/sage/coding/meson.build b/src/sage/coding/meson.build index 332aa592e97..8e042ee0a5a 100644 --- a/src/sage/coding/meson.build +++ b/src/sage/coding/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'abstract_code.py', 'ag_code.py', 'ag_code_decoders.pyx', diff --git a/src/sage/combinat/crystals/meson.build b/src/sage/combinat/crystals/meson.build index a56e40b4e20..ee8da89b536 100644 --- a/src/sage/combinat/crystals/meson.build +++ b/src/sage/combinat/crystals/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'affine.py', 'affine_factorization.py', 'affinization.py', diff --git a/src/sage/combinat/designs/meson.build b/src/sage/combinat/designs/meson.build index e2bcec04806..6f835bac5d1 100644 --- a/src/sage/combinat/designs/meson.build +++ b/src/sage/combinat/designs/meson.build @@ -1,5 +1,6 @@ py.install_sources( 'MOLS_handbook_data.py', + '__init__.py', 'all.py', 'bibd.py', 'block_design.py', diff --git a/src/sage/combinat/matrices/meson.build b/src/sage/combinat/matrices/meson.build index 58cb4da89af..90d06dd060b 100644 --- a/src/sage/combinat/matrices/meson.build +++ b/src/sage/combinat/matrices/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'dancing_links.pyx', 'dlxcpp.py', diff --git a/src/sage/combinat/meson.build b/src/sage/combinat/meson.build index 8d0dbe98936..8d9c3233463 100644 --- a/src/sage/combinat/meson.build +++ b/src/sage/combinat/meson.build @@ -1,5 +1,6 @@ py.install_sources( 'SJT.py', + '__init__.py', 'abstract_tree.py', 'affine_permutation.py', 'algebraic_combinatorics.py', diff --git a/src/sage/combinat/posets/meson.build b/src/sage/combinat/posets/meson.build index 25064435dde..32c323c9dd0 100644 --- a/src/sage/combinat/posets/meson.build +++ b/src/sage/combinat/posets/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'bubble_shuffle.py', 'cartesian_product.py', diff --git a/src/sage/combinat/rigged_configurations/meson.build b/src/sage/combinat/rigged_configurations/meson.build index 7379bfe4621..549150d8ea6 100644 --- a/src/sage/combinat/rigged_configurations/meson.build +++ b/src/sage/combinat/rigged_configurations/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'bij_abstract_class.py', 'bij_infinity.py', diff --git a/src/sage/combinat/root_system/meson.build b/src/sage/combinat/root_system/meson.build index 13fc0c1c65a..66c596818b9 100644 --- a/src/sage/combinat/root_system/meson.build +++ b/src/sage/combinat/root_system/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'ambient_space.py', 'associahedron.py', diff --git a/src/sage/combinat/words/meson.build b/src/sage/combinat/words/meson.build index bcc0f2ede65..943528e2fa1 100644 --- a/src/sage/combinat/words/meson.build +++ b/src/sage/combinat/words/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'abstract_word.py', 'all.py', 'alphabet.py', diff --git a/src/sage/data_structures/meson.build b/src/sage/data_structures/meson.build index 7de4c3c4a47..f0f33d885cb 100644 --- a/src/sage/data_structures/meson.build +++ b/src/sage/data_structures/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'binary_matrix.pxd', 'binary_search.pxd', diff --git a/src/sage/dynamics/arithmetic_dynamics/meson.build b/src/sage/dynamics/arithmetic_dynamics/meson.build index cece313654b..6f56eb5d8cd 100644 --- a/src/sage/dynamics/arithmetic_dynamics/meson.build +++ b/src/sage/dynamics/arithmetic_dynamics/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'affine_ds.py', 'all.py', 'berkovich_ds.py', diff --git a/src/sage/dynamics/complex_dynamics/meson.build b/src/sage/dynamics/complex_dynamics/meson.build index 7e2be52e56d..f39e2237898 100644 --- a/src/sage/dynamics/complex_dynamics/meson.build +++ b/src/sage/dynamics/complex_dynamics/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'mandel_julia.py', 'mandel_julia_helper.pyx', diff --git a/src/sage/dynamics/meson.build b/src/sage/dynamics/meson.build index 134cfd1a296..9ba62964e6c 100644 --- a/src/sage/dynamics/meson.build +++ b/src/sage/dynamics/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'finite_dynamical_system.py', 'finite_dynamical_system_catalog.py', diff --git a/src/sage/ext/meson.build b/src/sage/ext/meson.build index ef305854c8a..fd13bf1ecc7 100644 --- a/src/sage/ext/meson.build +++ b/src/sage/ext/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all__sagemath_objects.py', 'ccobject.h', 'cplusplus.pxd', diff --git a/src/sage/functions/meson.build b/src/sage/functions/meson.build index 2f9370636c1..c37ec96e9ff 100644 --- a/src/sage/functions/meson.build +++ b/src/sage/functions/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'airy.py', 'all.py', 'bessel.py', diff --git a/src/sage/games/meson.build b/src/sage/games/meson.build index ff67e3d2cb9..11e322b4f67 100644 --- a/src/sage/games/meson.build +++ b/src/sage/games/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'hexad.py', 'quantumino.py', diff --git a/src/sage/geometry/meson.build b/src/sage/geometry/meson.build index 52394a345be..2acd9926344 100644 --- a/src/sage/geometry/meson.build +++ b/src/sage/geometry/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'abc.pyx', 'all.py', 'cone.py', diff --git a/src/sage/geometry/polyhedron/combinatorial_polyhedron/meson.build b/src/sage/geometry/polyhedron/combinatorial_polyhedron/meson.build index 9feac5d7c12..a183940837c 100644 --- a/src/sage/geometry/polyhedron/combinatorial_polyhedron/meson.build +++ b/src/sage/geometry/polyhedron/combinatorial_polyhedron/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'base.pxd', 'base.pyx', diff --git a/src/sage/geometry/polyhedron/meson.build b/src/sage/geometry/polyhedron/meson.build index 3b07bbdd9a5..db589c39385 100644 --- a/src/sage/geometry/polyhedron/meson.build +++ b/src/sage/geometry/polyhedron/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'backend_cdd.py', 'backend_cdd_rdf.py', diff --git a/src/sage/geometry/triangulation/meson.build b/src/sage/geometry/triangulation/meson.build index 9efd051ec8d..dc832b756d6 100644 --- a/src/sage/geometry/triangulation/meson.build +++ b/src/sage/geometry/triangulation/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'base.pyx', 'data.pxd', diff --git a/src/sage/graphs/base/meson.build b/src/sage/graphs/base/meson.build index 5b0c97bc912..8713e695425 100644 --- a/src/sage/graphs/base/meson.build +++ b/src/sage/graphs/base/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'boost_graph.pxd', 'boost_graph.pyx', diff --git a/src/sage/graphs/generators/meson.build b/src/sage/graphs/generators/meson.build index 9d45f5fc0a7..da258e4998a 100644 --- a/src/sage/graphs/generators/meson.build +++ b/src/sage/graphs/generators/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'basic.py', 'chessboard.py', diff --git a/src/sage/graphs/graph_decompositions/meson.build b/src/sage/graphs/graph_decompositions/meson.build index 9596b734bb4..e991d7de16c 100644 --- a/src/sage/graphs/graph_decompositions/meson.build +++ b/src/sage/graphs/graph_decompositions/meson.build @@ -7,6 +7,7 @@ endif rw = cc.find_library('rw', required: get_option('rankwidth'), disabler: true) py.install_sources( + '__init__.py', 'all.py', 'all__sagemath_tdlib.py', 'bandwidth.pyx', diff --git a/src/sage/graphs/meson.build b/src/sage/graphs/meson.build index 9e778b1afe2..b5f6ae53ee7 100644 --- a/src/sage/graphs/meson.build +++ b/src/sage/graphs/meson.build @@ -15,6 +15,7 @@ planarity = cc.find_library( ) py.install_sources( + '__init__.py', 'all.py', 'all__sagemath_bliss.py', 'all__sagemath_mcqd.py', diff --git a/src/sage/groups/matrix_gps/meson.build b/src/sage/groups/matrix_gps/meson.build index 63baa1576f3..00ab019a0b1 100644 --- a/src/sage/groups/matrix_gps/meson.build +++ b/src/sage/groups/matrix_gps/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'binary_dihedral.py', 'catalog.py', diff --git a/src/sage/groups/meson.build b/src/sage/groups/meson.build index 9c2589a8103..256c3a76b92 100644 --- a/src/sage/groups/meson.build +++ b/src/sage/groups/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'artin.py', 'braid.py', diff --git a/src/sage/groups/perm_gps/meson.build b/src/sage/groups/perm_gps/meson.build index cb08074108e..0ea630f847d 100644 --- a/src/sage/groups/perm_gps/meson.build +++ b/src/sage/groups/perm_gps/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'constructor.py', 'cubegroup.py', diff --git a/src/sage/groups/perm_gps/partn_ref/meson.build b/src/sage/groups/perm_gps/partn_ref/meson.build index 7e2a49fc7de..3e5687721ec 100644 --- a/src/sage/groups/perm_gps/partn_ref/meson.build +++ b/src/sage/groups/perm_gps/partn_ref/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'automorphism_group_canonical_label.pxd', 'automorphism_group_canonical_label.pyx', diff --git a/src/sage/groups/perm_gps/partn_ref2/meson.build b/src/sage/groups/perm_gps/partn_ref2/meson.build index 39516a980ee..55e2ad83c52 100644 --- a/src/sage/groups/perm_gps/partn_ref2/meson.build +++ b/src/sage/groups/perm_gps/partn_ref2/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'refinement_generic.pxd', 'refinement_generic.pyx', diff --git a/src/sage/groups/semimonomial_transformations/meson.build b/src/sage/groups/semimonomial_transformations/meson.build index 78b8114c75d..e9b3232b24a 100644 --- a/src/sage/groups/semimonomial_transformations/meson.build +++ b/src/sage/groups/semimonomial_transformations/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'semimonomial_transformation.pxd', 'semimonomial_transformation.pyx', diff --git a/src/sage/interacts/meson.build b/src/sage/interacts/meson.build index ee995d5e3fc..b3e2bbdddeb 100644 --- a/src/sage/interacts/meson.build +++ b/src/sage/interacts/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'algebra.py', 'all.py', 'calculus.py', diff --git a/src/sage/interfaces/meson.build b/src/sage/interfaces/meson.build index 51e7b7701f3..266193875f8 100644 --- a/src/sage/interfaces/meson.build +++ b/src/sage/interfaces/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'abc.py', 'all.py', 'all__sagemath_polyhedra.py', diff --git a/src/sage/lfunctions/meson.build b/src/sage/lfunctions/meson.build index 52c10fbe51e..09a51db11bb 100644 --- a/src/sage/lfunctions/meson.build +++ b/src/sage/lfunctions/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'dokchitser.py', 'lcalc.py', diff --git a/src/sage/libs/gap/meson.build b/src/sage/libs/gap/meson.build index 1e1b99a23ee..fd095c3f5b6 100644 --- a/src/sage/libs/gap/meson.build +++ b/src/sage/libs/gap/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'all_documented_functions.py', 'assigned_names.py', diff --git a/src/sage/libs/meson.build b/src/sage/libs/meson.build index 8a390f460e8..d8554473551 100644 --- a/src/sage/libs/meson.build +++ b/src/sage/libs/meson.build @@ -89,6 +89,7 @@ homfly = cc.find_library( ) py.install_sources( + '__init__.py', 'all.py', 'all__sagemath_coxeter3.py', 'all__sagemath_meataxe.py', diff --git a/src/sage/matrix/meson.build b/src/sage/matrix/meson.build index ad0a7c435bb..e9abbc8c6d9 100644 --- a/src/sage/matrix/meson.build +++ b/src/sage/matrix/meson.build @@ -2,6 +2,7 @@ iml = cc.find_library('iml', required: not is_windows, disabler: true) py.install_sources( + '__init__.py', 'action.pxd', 'action.pyx', 'all.py', diff --git a/src/sage/matroids/meson.build b/src/sage/matroids/meson.build index f45992dd0a8..98187387863 100644 --- a/src/sage/matroids/meson.build +++ b/src/sage/matroids/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'advanced.py', 'all.py', 'basis_exchange_matroid.pxd', diff --git a/src/sage/meson.build b/src/sage/meson.build index f6b142855bc..d1d15cf6895 100644 --- a/src/sage/meson.build +++ b/src/sage/meson.build @@ -80,6 +80,7 @@ foreach package : no_processing endforeach py.install_sources( + '__init__.py', 'all.py', 'all__sagemath_bliss.py', 'all__sagemath_coxeter3.py', diff --git a/src/sage/misc/meson.build b/src/sage/misc/meson.build index 061a5ca1708..d590f3d3300 100644 --- a/src/sage/misc/meson.build +++ b/src/sage/misc/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'abstract_method.py', 'all.py', 'all__sagemath_environment.py', diff --git a/src/sage/modular/arithgroup/meson.build b/src/sage/modular/arithgroup/meson.build index 22d65ee7461..14de8056ac4 100644 --- a/src/sage/modular/arithgroup/meson.build +++ b/src/sage/modular/arithgroup/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'arithgroup_element.pyx', 'arithgroup_generic.py', diff --git a/src/sage/modular/meson.build b/src/sage/modular/meson.build index 437aab02090..ce0b69b112e 100644 --- a/src/sage/modular/meson.build +++ b/src/sage/modular/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'buzzard.py', 'congroup.py', diff --git a/src/sage/modular/modform/meson.build b/src/sage/modular/modform/meson.build index 7130193305b..54eb99c4e1c 100644 --- a/src/sage/modular/modform/meson.build +++ b/src/sage/modular/modform/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'ambient.py', 'ambient_R.py', diff --git a/src/sage/modular/modsym/meson.build b/src/sage/modular/modsym/meson.build index c0c15f3b40e..63e8ced7d53 100644 --- a/src/sage/modular/modsym/meson.build +++ b/src/sage/modular/modsym/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'ambient.py', 'apply.pxd', diff --git a/src/sage/modular/pollack_stevens/meson.build b/src/sage/modular/pollack_stevens/meson.build index 7fd1f851568..8724ee0df43 100644 --- a/src/sage/modular/pollack_stevens/meson.build +++ b/src/sage/modular/pollack_stevens/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'dist.pxd', 'dist.pyx', diff --git a/src/sage/modules/meson.build b/src/sage/modules/meson.build index 6f2ed407ff2..41e72d04d5c 100644 --- a/src/sage/modules/meson.build +++ b/src/sage/modules/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'complex_double_vector.py', 'diamond_cutting.py', diff --git a/src/sage/modules/with_basis/meson.build b/src/sage/modules/with_basis/meson.build index 43f123e8b93..971012fcf4c 100644 --- a/src/sage/modules/with_basis/meson.build +++ b/src/sage/modules/with_basis/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'cell_module.py', 'indexed_element.pxd', diff --git a/src/sage/monoids/meson.build b/src/sage/monoids/meson.build index 2132f0676e5..9b590ee95df 100644 --- a/src/sage/monoids/meson.build +++ b/src/sage/monoids/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'automatic_semigroup.py', 'free_abelian_monoid.py', diff --git a/src/sage/numerical/backends/meson.build b/src/sage/numerical/backends/meson.build index a4125afdeee..eecd6e250a5 100644 --- a/src/sage/numerical/backends/meson.build +++ b/src/sage/numerical/backends/meson.build @@ -2,6 +2,7 @@ glpk = cc.find_library('glpk', required: not is_windows, disabler: true) py.install_sources( + '__init__.py', 'all.py', 'all__sagemath_polyhedra.py', 'cvxopt_backend.pyx', diff --git a/src/sage/numerical/meson.build b/src/sage/numerical/meson.build index 56d8023272e..a9adb26adc8 100644 --- a/src/sage/numerical/meson.build +++ b/src/sage/numerical/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'all__sagemath_polyhedra.py', 'gauss_legendre.pyx', diff --git a/src/sage/plot/meson.build b/src/sage/plot/meson.build index 3cc02fcdeaf..aa0ef708923 100644 --- a/src/sage/plot/meson.build +++ b/src/sage/plot/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'animate.py', 'arc.py', diff --git a/src/sage/plot/plot3d/meson.build b/src/sage/plot/plot3d/meson.build index 7d58a7cb351..cf8e33a2c5d 100644 --- a/src/sage/plot/plot3d/meson.build +++ b/src/sage/plot/plot3d/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'base.pxd', 'base.pyx', diff --git a/src/sage/probability/meson.build b/src/sage/probability/meson.build index e59d39767f9..008efb6bf34 100644 --- a/src/sage/probability/meson.build +++ b/src/sage/probability/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'probability_distribution.pyx', 'random_variable.py', diff --git a/src/sage/quadratic_forms/meson.build b/src/sage/quadratic_forms/meson.build index e292513624f..d7d8bb0a6c1 100644 --- a/src/sage/quadratic_forms/meson.build +++ b/src/sage/quadratic_forms/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'binary_qf.py', 'bqf_class_group.py', diff --git a/src/sage/quivers/meson.build b/src/sage/quivers/meson.build index 01b6127e16e..6d93bb01a06 100644 --- a/src/sage/quivers/meson.build +++ b/src/sage/quivers/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'algebra.py', 'algebra_elements.pxd', 'algebra_elements.pyx', diff --git a/src/sage/rings/convert/meson.build b/src/sage/rings/convert/meson.build index ff2afdd77dd..2e248c33814 100644 --- a/src/sage/rings/convert/meson.build +++ b/src/sage/rings/convert/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'mpfi.pxd', 'mpfi.pyx', diff --git a/src/sage/rings/finite_rings/meson.build b/src/sage/rings/finite_rings/meson.build index 24072cec8e5..41ee9f0f0c6 100644 --- a/src/sage/rings/finite_rings/meson.build +++ b/src/sage/rings/finite_rings/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'conway_polynomials.py', 'element_base.pxd', diff --git a/src/sage/rings/function_field/meson.build b/src/sage/rings/function_field/meson.build index 31dcd509d3e..d99579c9c54 100644 --- a/src/sage/rings/function_field/meson.build +++ b/src/sage/rings/function_field/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'constructor.py', 'derivations.py', diff --git a/src/sage/rings/meson.build b/src/sage/rings/meson.build index 61149c487dd..143ef4b76f0 100644 --- a/src/sage/rings/meson.build +++ b/src/sage/rings/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'abc.pxd', 'abc.pyx', 'algebraic_closure_finite_field.py', diff --git a/src/sage/rings/number_field/meson.build b/src/sage/rings/number_field/meson.build index 1c8d9a88875..f8659c09448 100644 --- a/src/sage/rings/number_field/meson.build +++ b/src/sage/rings/number_field/meson.build @@ -1,5 +1,6 @@ py.install_sources( 'S_unit_solver.py', + '__init__.py', 'all.py', 'bdd_height.py', 'class_group.py', diff --git a/src/sage/rings/padics/meson.build b/src/sage/rings/padics/meson.build index a5ea244923b..4ac03767018 100644 --- a/src/sage/rings/padics/meson.build +++ b/src/sage/rings/padics/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'common_conversion.pxd', 'common_conversion.pyx', diff --git a/src/sage/rings/polynomial/meson.build b/src/sage/rings/polynomial/meson.build index 2c0435a0ef1..64df9a6b861 100644 --- a/src/sage/rings/polynomial/meson.build +++ b/src/sage/rings/polynomial/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'binary_form_reduce.py', 'commutative_polynomial.pxd', diff --git a/src/sage/rings/polynomial/weil/meson.build b/src/sage/rings/polynomial/weil/meson.build index f19b4d1464d..86a37c42c2f 100644 --- a/src/sage/rings/polynomial/weil/meson.build +++ b/src/sage/rings/polynomial/weil/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'power_sums.h', 'weil_polynomials.pyx', diff --git a/src/sage/rings/semirings/meson.build b/src/sage/rings/semirings/meson.build index 42e3bf220d8..b92ea837850 100644 --- a/src/sage/rings/semirings/meson.build +++ b/src/sage/rings/semirings/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'non_negative_integer_semiring.py', 'tropical_mpolynomial.py', diff --git a/src/sage/sat/meson.build b/src/sage/sat/meson.build index a1a0246dfce..85d9be286e2 100644 --- a/src/sage/sat/meson.build +++ b/src/sage/sat/meson.build @@ -1,4 +1,9 @@ -py.install_sources('all.py', 'boolean_polynomials.py', subdir: 'sage/sat') +py.install_sources( + '__init__.py', + 'all.py', + 'boolean_polynomials.py', + subdir: 'sage/sat', +) install_subdir('converters', install_dir: sage_install_dir / 'sat') subdir('solvers') diff --git a/src/sage/schemes/elliptic_curves/meson.build b/src/sage/schemes/elliptic_curves/meson.build index 28696121845..155f8e8a2d9 100644 --- a/src/sage/schemes/elliptic_curves/meson.build +++ b/src/sage/schemes/elliptic_curves/meson.build @@ -1,6 +1,7 @@ py.install_sources( 'BSD.py', 'Qcurves.py', + '__init__.py', 'addition_formulas_ring.py', 'all.py', 'cardinality.py', diff --git a/src/sage/schemes/hyperelliptic_curves/meson.build b/src/sage/schemes/hyperelliptic_curves/meson.build index ca5a09c1975..4de7b4baadc 100644 --- a/src/sage/schemes/hyperelliptic_curves/meson.build +++ b/src/sage/schemes/hyperelliptic_curves/meson.build @@ -1,5 +1,6 @@ inc_hypellfrob = include_directories('hypellfrob') py.install_sources( + '__init__.py', 'all.py', 'constructor.py', 'hypellfrob.pyx', diff --git a/src/sage/schemes/meson.build b/src/sage/schemes/meson.build index c74c532b930..4dac80900e9 100644 --- a/src/sage/schemes/meson.build +++ b/src/sage/schemes/meson.build @@ -1,4 +1,9 @@ -py.install_sources('all.py', 'overview.py', subdir: 'sage/schemes') +py.install_sources( + '__init__.py', + 'all.py', + 'overview.py', + subdir: 'sage/schemes', +) install_subdir('affine', install_dir: sage_install_dir / 'schemes') install_subdir('berkovich', install_dir: sage_install_dir / 'schemes') diff --git a/src/sage/schemes/toric/meson.build b/src/sage/schemes/toric/meson.build index e6a170b55aa..b534a186130 100644 --- a/src/sage/schemes/toric/meson.build +++ b/src/sage/schemes/toric/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'chow_group.py', 'divisor.py', diff --git a/src/sage/sets/meson.build b/src/sage/sets/meson.build index 2c58dcd53b0..0cd36cc5673 100644 --- a/src/sage/sets/meson.build +++ b/src/sage/sets/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'all__sagemath_objects.py', 'cartesian_product.py', diff --git a/src/sage/stats/distributions/meson.build b/src/sage/stats/distributions/meson.build index a17d29b5fae..df2b2d246b9 100644 --- a/src/sage/stats/distributions/meson.build +++ b/src/sage/stats/distributions/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'catalog.py', 'dgs.pxd', diff --git a/src/sage/stats/hmm/meson.build b/src/sage/stats/hmm/meson.build index 87e3900af5b..d45861127e9 100644 --- a/src/sage/stats/hmm/meson.build +++ b/src/sage/stats/hmm/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'chmm.pyx', 'distributions.pxd', diff --git a/src/sage/stats/meson.build b/src/sage/stats/meson.build index 1b6746fb286..35e8edb05a8 100644 --- a/src/sage/stats/meson.build +++ b/src/sage/stats/meson.build @@ -1,4 +1,5 @@ py.install_sources( + '__init__.py', 'all.py', 'basic_stats.py', 'intlist.pxd', diff --git a/src/sage/symbolic/meson.build b/src/sage/symbolic/meson.build index b61bcb451d1..2a723b0cf56 100644 --- a/src/sage/symbolic/meson.build +++ b/src/sage/symbolic/meson.build @@ -2,6 +2,7 @@ inc_ginac = include_directories('ginac') inc_pynac = include_directories('.') py.install_sources( + '__init__.py', 'all.py', 'assumptions.py', 'benchmark.py', From 1c77dbaa0f5145c5c3262d7b876c7cfd73c3e357 Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Mon, 8 Sep 2025 16:28:47 +0200 Subject: [PATCH 5/5] Run update-meson --- src/sage/graphs/generators/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sage/graphs/generators/meson.build b/src/sage/graphs/generators/meson.build index 7f9335c43f2..6693950a1ba 100644 --- a/src/sage/graphs/generators/meson.build +++ b/src/sage/graphs/generators/meson.build @@ -12,6 +12,7 @@ py.install_sources( 'random.py', 'smallgraphs.py', 'trees.pxd', + 'trees.pyx', 'world_map.py', subdir: 'sage/graphs/generators', )