diff --git a/src/sage/algebras/finite_dimensional_algebras/meson.build b/src/sage/algebras/finite_dimensional_algebras/meson.build index 85f04b2afcb..5cf644da91b 100644 --- a/src/sage/algebras/finite_dimensional_algebras/meson.build +++ b/src/sage/algebras/finite_dimensional_algebras/meson.build @@ -3,6 +3,7 @@ py.install_sources( '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..4dec6963a36 100644 --- a/src/sage/algebras/fusion_rings/meson.build +++ b/src/sage/algebras/fusion_rings/meson.build @@ -3,11 +3,15 @@ py.install_sources( '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..48e574c8383 100644 --- a/src/sage/algebras/letterplace/meson.build +++ b/src/sage/algebras/letterplace/meson.build @@ -2,7 +2,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..b08b21eaf80 100644 --- a/src/sage/algebras/lie_algebras/meson.build +++ b/src/sage/algebras/lie_algebras/meson.build @@ -13,6 +13,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..59262513251 100644 --- a/src/sage/algebras/meson.build +++ b/src/sage/algebras/meson.build @@ -8,10 +8,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 +26,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..607ed67536d 100644 --- a/src/sage/algebras/quatalg/meson.build +++ b/src/sage/algebras/quatalg/meson.build @@ -2,7 +2,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 f0e9395524a..b11957b8743 100644 --- a/src/sage/arith/meson.build +++ b/src/sage/arith/meson.build @@ -3,12 +3,18 @@ py.install_sources( 'all.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..60f5cac8614 100644 --- a/src/sage/calculus/meson.build +++ b/src/sage/calculus/meson.build @@ -6,11 +6,17 @@ py.install_sources( '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..3876840f7cc 100644 --- a/src/sage/calculus/transforms/meson.build +++ b/src/sage/calculus/transforms/meson.build @@ -3,7 +3,9 @@ py.install_sources( '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..41580a11cca 100644 --- a/src/sage/categories/examples/meson.build +++ b/src/sage/categories/examples/meson.build @@ -29,6 +29,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 43b9c696f8e..984e8d50d99 100644 --- a/src/sage/categories/meson.build +++ b/src/sage/categories/meson.build @@ -1,6 +1,7 @@ py.install_sources( '__init__.py', 'action.pxd', + 'action.pyx', 'additive_groups.py', 'additive_magmas.py', 'additive_monoids.py', @@ -21,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', @@ -87,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', @@ -136,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', @@ -144,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..67e74deea79 100644 --- a/src/sage/coding/codecan/meson.build +++ b/src/sage/coding/codecan/meson.build @@ -1,7 +1,9 @@ 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..8e042ee0a5a 100644 --- a/src/sage/coding/meson.build +++ b/src/sage/coding/meson.build @@ -2,9 +2,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 +28,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..ee8da89b536 100644 --- a/src/sage/combinat/crystals/meson.build +++ b/src/sage/combinat/crystals/meson.build @@ -23,18 +23,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..6f835bac5d1 100644 --- a/src/sage/combinat/designs/meson.build +++ b/src/sage/combinat/designs/meson.build @@ -9,16 +9,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..90d06dd060b 100644 --- a/src/sage/combinat/matrices/meson.build +++ b/src/sage/combinat/matrices/meson.build @@ -1,6 +1,7 @@ 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..8d9c3233463 100644 --- a/src/sage/combinat/meson.build +++ b/src/sage/combinat/meson.build @@ -18,6 +18,7 @@ py.install_sources( 'colored_permutations.py', 'combinat.py', 'combinat_cython.pxd', + 'combinat_cython.pyx', 'combination.py', 'combinatorial_map.py', 'composition.py', @@ -27,7 +28,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 +40,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 +84,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 +105,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 +123,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..32c323c9dd0 100644 --- a/src/sage/combinat/posets/meson.build +++ b/src/sage/combinat/posets/meson.build @@ -6,10 +6,13 @@ py.install_sources( '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..549150d8ea6 100644 --- a/src/sage/combinat/rigged_configurations/meson.build +++ b/src/sage/combinat/rigged_configurations/meson.build @@ -21,6 +21,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..66c596818b9 100644 --- a/src/sage/combinat/root_system/meson.build +++ b/src/sage/combinat/root_system/meson.build @@ -4,6 +4,7 @@ py.install_sources( 'ambient_space.py', 'associahedron.py', 'braid_move_calculator.py', + 'braid_orbit.pyx', 'branching_rules.py', 'cartan_matrix.py', 'cartan_type.py', @@ -18,8 +19,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..943528e2fa1 100644 --- a/src/sage/combinat/words/meson.build +++ b/src/sage/combinat/words/meson.build @@ -12,7 +12,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..f0f33d885cb 100644 --- a/src/sage/data_structures/meson.build +++ b/src/sage/data_structures/meson.build @@ -3,15 +3,22 @@ py.install_sources( '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..6f56eb5d8cd 100644 --- a/src/sage/dynamics/arithmetic_dynamics/meson.build +++ b/src/sage/dynamics/arithmetic_dynamics/meson.build @@ -9,6 +9,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..f39e2237898 100644 --- a/src/sage/dynamics/complex_dynamics/meson.build +++ b/src/sage/dynamics/complex_dynamics/meson.build @@ -2,6 +2,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/ext/meson.build b/src/sage/ext/meson.build index 661378ce2f0..3c8ee5056d8 100644 --- a/src/sage/ext/meson.build +++ b/src/sage/ext/meson.build @@ -3,7 +3,10 @@ py.install_sources( '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..c37ec96e9ff 100644 --- a/src/sage/functions/meson.build +++ b/src/sage/functions/meson.build @@ -15,6 +15,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..11e322b4f67 100644 --- a/src/sage/games/meson.build +++ b/src/sage/games/meson.build @@ -4,6 +4,7 @@ py.install_sources( '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..2acd9926344 100644 --- a/src/sage/geometry/meson.build +++ b/src/sage/geometry/meson.build @@ -1,5 +1,6 @@ py.install_sources( '__init__.py', + 'abc.pyx', 'all.py', 'cone.py', 'cone_catalog.py', @@ -10,14 +11,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..a183940837c 100644 --- a/src/sage/geometry/polyhedron/combinatorial_polyhedron/meson.build +++ b/src/sage/geometry/polyhedron/combinatorial_polyhedron/meson.build @@ -2,13 +2,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/triangulation/meson.build b/src/sage/geometry/triangulation/meson.build index e8361a9da09..dc832b756d6 100644 --- a/src/sage/geometry/triangulation/meson.build +++ b/src/sage/geometry/triangulation/meson.build @@ -1,6 +1,7 @@ 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 4121a61fe9b..903db152bfe 100644 --- a/src/sage/graphs/base/meson.build +++ b/src/sage/graphs/base/meson.build @@ -2,14 +2,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 ef1ca93250e..eda4837c26c 100644 --- a/src/sage/graphs/generators/meson.build +++ b/src/sage/graphs/generators/meson.build @@ -5,6 +5,7 @@ py.install_sources( 'chessboard.py', 'classical_geometries.py', 'degree_sequence.py', + 'distance_regular.pyx', 'families.py', 'generators_test.py', 'intersection.py', @@ -13,6 +14,7 @@ py.install_sources( 'shortened_000_111_extended_binary_Golay_code_graph.pickle.xz', 'smallgraphs.py', 'trees.pxd', + 'trees.pyx', 'world_map.py', subdir: 'sage/graphs/generators', ) diff --git a/src/sage/graphs/graph_decompositions/meson.build b/src/sage/graphs/graph_decompositions/meson.build index 83c9caa40af..8aa1fd50274 100644 --- a/src/sage/graphs/graph_decompositions/meson.build +++ b/src/sage/graphs/graph_decompositions/meson.build @@ -9,12 +9,23 @@ rw = cc.find_library('rw', required: get_option('rankwidth'), disabler: true) py.install_sources( '__init__.py', 'all.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 0d3f8a5c67b..47d8544d1dd 100644 --- a/src/sage/graphs/meson.build +++ b/src/sage/graphs/meson.build @@ -25,42 +25,69 @@ endif py.install_sources( '__init__.py', 'all.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', '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..00ab019a0b1 100644 --- a/src/sage/groups/matrix_gps/meson.build +++ b/src/sage/groups/matrix_gps/meson.build @@ -7,7 +7,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..256c3a76b92 100644 --- a/src/sage/groups/meson.build +++ b/src/sage/groups/meson.build @@ -16,6 +16,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 +26,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..0ea630f847d 100644 --- a/src/sage/groups/perm_gps/meson.build +++ b/src/sage/groups/perm_gps/meson.build @@ -5,6 +5,7 @@ py.install_sources( '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..3e5687721ec 100644 --- a/src/sage/groups/perm_gps/partn_ref/meson.build +++ b/src/sage/groups/perm_gps/partn_ref/meson.build @@ -2,15 +2,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..55e2ad83c52 100644 --- a/src/sage/groups/perm_gps/partn_ref2/meson.build +++ b/src/sage/groups/perm_gps/partn_ref2/meson.build @@ -2,6 +2,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..e9b3232b24a 100644 --- a/src/sage/groups/semimonomial_transformations/meson.build +++ b/src/sage/groups/semimonomial_transformations/meson.build @@ -2,6 +2,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..b3e2bbdddeb 100644 --- a/src/sage/interacts/meson.build +++ b/src/sage/interacts/meson.build @@ -6,6 +6,7 @@ py.install_sources( '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 4afd27c7afd..18d13e7771b 100644 --- a/src/sage/interfaces/meson.build +++ b/src/sage/interfaces/meson.build @@ -41,6 +41,7 @@ py.install_sources( 'polymake.py', 'povray.py', 'process.pxd', + 'process.pyx', 'psage.py', 'qepcad.py', 'qsieve.py', @@ -51,6 +52,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..09a51db11bb 100644 --- a/src/sage/lfunctions/meson.build +++ b/src/sage/lfunctions/meson.build @@ -5,6 +5,7 @@ py.install_sources( '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 4784fc38e76..caf5f30b535 100644 --- a/src/sage/libs/coxeter3/meson.build +++ b/src/sage/libs/coxeter3/meson.build @@ -6,6 +6,7 @@ coxeter3 = cc.find_library( py.install_sources( '__init__.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 69e304a4f85..ed0bad3bcce 100644 --- a/src/sage/libs/gap/meson.build +++ b/src/sage/libs/gap/meson.build @@ -5,14 +5,17 @@ py.install_sources( 'assigned_names.py', 'context_managers.py', 'element.pxd', + 'element.pyx', 'gap_functions.py', 'gap_globals.py', 'gap_includes.pxd', + 'libgap.pyx', 'gap_test.py', 'operations.py', 'sage.gaprc', 'saved_workspace.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 ead513236a0..ab823e41e93 100644 --- a/src/sage/libs/meson.build +++ b/src/sage/libs/meson.build @@ -99,13 +99,19 @@ endif py.install_sources( '__init__.py', 'all.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 f68d9178d71..2cc224eb082 100644 --- a/src/sage/libs/symmetrica/meson.build +++ b/src/sage/libs/symmetrica/meson.build @@ -8,7 +8,12 @@ if not symmetrica.found() ) endif -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 e5173b4a207..3e703312d11 100644 --- a/src/sage/matrix/meson.build +++ b/src/sage/matrix/meson.build @@ -4,54 +4,96 @@ iml = cc.find_library('iml', required: not is_windows, disabler: true) py.install_sources( '__init__.py', 'action.pxd', + 'action.pyx', 'all.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..98187387863 100644 --- a/src/sage/matroids/meson.build +++ b/src/sage/matroids/meson.build @@ -3,31 +3,45 @@ py.install_sources( '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/misc/meson.build b/src/sage/misc/meson.build index 8ceedd69ff5..f44095ff136 100644 --- a/src/sage/misc/meson.build +++ b/src/sage/misc/meson.build @@ -3,75 +3,106 @@ py.install_sources( 'abstract_method.py', 'all.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', @@ -83,6 +114,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..14de8056ac4 100644 --- a/src/sage/modular/arithgroup/meson.build +++ b/src/sage/modular/arithgroup/meson.build @@ -1,14 +1,17 @@ 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..ce0b69b112e 100644 --- a/src/sage/modular/meson.build +++ b/src/sage/modular/meson.build @@ -10,6 +10,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..54eb99c4e1c 100644 --- a/src/sage/modular/modform/meson.build +++ b/src/sage/modular/modform/meson.build @@ -10,6 +10,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 +18,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..63e8ced7d53 100644 --- a/src/sage/modular/modsym/meson.build +++ b/src/sage/modular/modsym/meson.build @@ -3,18 +3,23 @@ py.install_sources( '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..8724ee0df43 100644 --- a/src/sage/modular/pollack_stevens/meson.build +++ b/src/sage/modular/pollack_stevens/meson.build @@ -2,6 +2,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 4396b462f9a..6d73f06888c 100644 --- a/src/sage/modules/meson.build +++ b/src/sage/modules/meson.build @@ -5,8 +5,10 @@ py.install_sources( '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 +19,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 +36,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..971012fcf4c 100644 --- a/src/sage/modules/with_basis/meson.build +++ b/src/sage/modules/with_basis/meson.build @@ -3,6 +3,7 @@ py.install_sources( '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..9b590ee95df 100644 --- a/src/sage/monoids/meson.build +++ b/src/sage/monoids/meson.build @@ -4,6 +4,7 @@ py.install_sources( '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 193ad419016..57454e81e88 100644 --- a/src/sage/numerical/backends/meson.build +++ b/src/sage/numerical/backends/meson.build @@ -4,23 +4,35 @@ glpk = cc.find_library('glpk', required: not is_windows, disabler: true) py.install_sources( '__init__.py', 'all.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 c14593d93ed..718df394a61 100644 --- a/src/sage/numerical/meson.build +++ b/src/sage/numerical/meson.build @@ -1,15 +1,20 @@ py.install_sources( '__init__.py', 'all.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..aa0ef708923 100644 --- a/src/sage/plot/meson.build +++ b/src/sage/plot/meson.build @@ -8,6 +8,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..cf8e33a2c5d 100644 --- a/src/sage/plot/plot3d/meson.build +++ b/src/sage/plot/plot3d/meson.build @@ -2,21 +2,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..008efb6bf34 100644 --- a/src/sage/probability/meson.build +++ b/src/sage/probability/meson.build @@ -1,6 +1,7 @@ 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..d7d8bb0a6c1 100644 --- a/src/sage/quadratic_forms/meson.build +++ b/src/sage/quadratic_forms/meson.build @@ -4,12 +4,14 @@ py.install_sources( '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 +30,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..6d93bb01a06 100644 --- a/src/sage/quivers/meson.build +++ b/src/sage/quivers/meson.build @@ -2,12 +2,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..2e248c33814 100644 --- a/src/sage/rings/convert/meson.build +++ b/src/sage/rings/convert/meson.build @@ -2,6 +2,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..41ee9f0f0c6 100644 --- a/src/sage/rings/finite_rings/meson.build +++ b/src/sage/rings/finite_rings/meson.build @@ -3,10 +3,15 @@ py.install_sources( '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 +19,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..d99579c9c54 100644 --- a/src/sage/rings/function_field/meson.build +++ b/src/sage/rings/function_field/meson.build @@ -8,17 +8,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 36f0696da00..743c223dcc7 100644 --- a/src/sage/rings/meson.build +++ b/src/sage/rings/meson.build @@ -1,26 +1,41 @@ py.install_sources( '__init__.py', 'abc.pxd', + 'abc.pyx', 'algebraic_closure_finite_field.py', 'all.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', @@ -35,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', @@ -60,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..f8659c09448 100644 --- a/src/sage/rings/number_field/meson.build +++ b/src/sage/rings/number_field/meson.build @@ -10,11 +10,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 +27,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..4ac03767018 100644 --- a/src/sage/rings/padics/meson.build +++ b/src/sage/rings/padics/meson.build @@ -2,53 +2,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..64df9a6b861 100644 --- a/src/sage/rings/polynomial/meson.build +++ b/src/sage/rings/polynomial/meson.build @@ -3,64 +3,97 @@ py.install_sources( '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 05cc2899783..3456379c864 100644 --- a/src/sage/rings/polynomial/pbori/meson.build +++ b/src/sage/rings/polynomial/pbori/meson.build @@ -27,6 +27,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..86a37c42c2f 100644 --- a/src/sage/rings/polynomial/weil/meson.build +++ b/src/sage/rings/polynomial/weil/meson.build @@ -2,6 +2,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..b92ea837850 100644 --- a/src/sage/rings/semirings/meson.build +++ b/src/sage/rings/semirings/meson.build @@ -4,6 +4,7 @@ py.install_sources( '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/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..155f8e8a2d9 100644 --- a/src/sage/schemes/elliptic_curves/meson.build +++ b/src/sage/schemes/elliptic_curves/meson.build @@ -7,6 +7,7 @@ py.install_sources( 'cardinality.py', 'cm.py', 'constructor.py', + 'descent_two_isogeny.pyx', 'ec_database.py', 'ell_curve_isogeny.py', 'ell_egros.py', @@ -44,10 +45,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..4de7b4baadc 100644 --- a/src/sage/schemes/hyperelliptic_curves/meson.build +++ b/src/sage/schemes/hyperelliptic_curves/meson.build @@ -3,6 +3,7 @@ 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/toric/meson.build b/src/sage/schemes/toric/meson.build index 0e85031ccf5..b534a186130 100644 --- a/src/sage/schemes/toric/meson.build +++ b/src/sage/schemes/toric/meson.build @@ -3,6 +3,7 @@ py.install_sources( '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 4e6b40db4d1..1ab6ba327dd 100644 --- a/src/sage/sets/meson.build +++ b/src/sage/sets/meson.build @@ -4,10 +4,13 @@ py.install_sources( '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', @@ -15,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..df2b2d246b9 100644 --- a/src/sage/stats/distributions/meson.build +++ b/src/sage/stats/distributions/meson.build @@ -4,6 +4,7 @@ py.install_sources( '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..d45861127e9 100644 --- a/src/sage/stats/hmm/meson.build +++ b/src/sage/stats/hmm/meson.build @@ -1,9 +1,13 @@ 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..35e8edb05a8 100644 --- a/src/sage/stats/meson.build +++ b/src/sage/stats/meson.build @@ -3,8 +3,10 @@ py.install_sources( '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 a9d4b0a35aa..bb8e3c1433e 100644 --- a/src/sage/symbolic/meson.build +++ b/src/sage/symbolic/meson.build @@ -10,10 +10,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 +23,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 de3eae5d97e..8adb945ae5f 100755 --- a/tools/update-meson.py +++ b/tools/update-meson.py @@ -91,7 +91,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] = []