From 37f37c5e8568b9871f359d8204cd5665cc13799f Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sat, 25 May 2024 16:05:53 -0700 Subject: [PATCH 1/3] sage -fixdistributions --set all --from-egg-info --- src/sage/all__sagemath_bliss.py | 1 + src/sage/all__sagemath_categories.py | 1 + src/sage/all__sagemath_coxeter3.py | 1 + src/sage/all__sagemath_environment.py | 1 + src/sage/all__sagemath_mcqd.py | 1 + src/sage/all__sagemath_meataxe.py | 1 + src/sage/all__sagemath_objects.py | 1 + src/sage/all__sagemath_repl.py | 1 + src/sage/all__sagemath_sirocco.py | 1 + src/sage/all__sagemath_tdlib.py | 1 + src/sage/arith/all__sagemath_objects.py | 1 + src/sage/arith/long.pxd | 1 + src/sage/arith/numerical_approx.pxd | 1 + src/sage/arith/numerical_approx.pyx | 1 + src/sage/arith/power.pxd | 1 + src/sage/arith/power.pyx | 1 + src/sage/categories/action.pxd | 1 + src/sage/categories/action.pyx | 1 + src/sage/categories/additive_groups.py | 1 + src/sage/categories/additive_magmas.py | 1 + src/sage/categories/additive_monoids.py | 1 + src/sage/categories/additive_semigroups.py | 1 + src/sage/categories/affine_weyl_groups.py | 1 + src/sage/categories/algebra_functor.py | 1 + src/sage/categories/algebra_ideals.py | 1 + src/sage/categories/algebra_modules.py | 1 + src/sage/categories/algebras.py | 1 + src/sage/categories/algebras_with_basis.py | 1 + src/sage/categories/all.py | 1 + src/sage/categories/all__sagemath_objects.py | 1 + src/sage/categories/aperiodic_semigroups.py | 1 + src/sage/categories/associative_algebras.py | 1 + src/sage/categories/basic.py | 1 + src/sage/categories/bialgebras.py | 1 + src/sage/categories/bialgebras_with_basis.py | 1 + src/sage/categories/bimodules.py | 1 + src/sage/categories/cartesian_product.py | 1 + src/sage/categories/category.py | 1 + src/sage/categories/category_cy_helper.pxd | 1 + src/sage/categories/category_cy_helper.pyx | 1 + src/sage/categories/category_singleton.pxd | 1 + src/sage/categories/category_singleton.pyx | 1 + src/sage/categories/category_types.py | 1 + src/sage/categories/category_with_axiom.py | 1 + src/sage/categories/chain_complexes.py | 1 + src/sage/categories/classical_crystals.py | 1 + src/sage/categories/coalgebras.py | 1 + src/sage/categories/coalgebras_with_basis.py | 1 + src/sage/categories/coercion_methods.pyx | 1 + src/sage/categories/commutative_additive_groups.py | 1 + src/sage/categories/commutative_additive_monoids.py | 1 + src/sage/categories/commutative_additive_semigroups.py | 1 + src/sage/categories/commutative_algebra_ideals.py | 1 + src/sage/categories/commutative_algebras.py | 1 + src/sage/categories/commutative_ring_ideals.py | 1 + src/sage/categories/commutative_rings.py | 1 + src/sage/categories/complete_discrete_valuation.py | 1 + src/sage/categories/complex_reflection_groups.py | 1 + .../complex_reflection_or_generalized_coxeter_groups.py | 1 + src/sage/categories/covariant_functorial_construction.py | 1 + src/sage/categories/coxeter_group_algebras.py | 1 + src/sage/categories/coxeter_groups.py | 1 + src/sage/categories/crystals.py | 1 + src/sage/categories/cw_complexes.py | 1 + src/sage/categories/dedekind_domains.py | 1 + src/sage/categories/discrete_valuation.py | 1 + src/sage/categories/distributive_magmas_and_additive_magmas.py | 1 + src/sage/categories/division_rings.py | 1 + src/sage/categories/domains.py | 1 + src/sage/categories/drinfeld_modules.py | 1 + src/sage/categories/dual.py | 1 + src/sage/categories/enumerated_sets.py | 1 + src/sage/categories/euclidean_domains.py | 1 + src/sage/categories/examples/algebras_with_basis.py | 1 + src/sage/categories/examples/all.py | 1 + src/sage/categories/examples/commutative_additive_monoids.py | 1 + .../categories/examples/commutative_additive_semigroups.py | 1 + src/sage/categories/examples/coxeter_groups.py | 1 + src/sage/categories/examples/crystals.py | 1 + src/sage/categories/examples/cw_complexes.py | 1 + src/sage/categories/examples/facade_sets.py | 1 + src/sage/categories/examples/filtered_algebras_with_basis.py | 1 + src/sage/categories/examples/filtered_modules_with_basis.py | 1 + src/sage/categories/examples/finite_coxeter_groups.py | 1 + .../examples/finite_dimensional_algebras_with_basis.py | 1 + .../examples/finite_dimensional_lie_algebras_with_basis.py | 1 + src/sage/categories/examples/finite_enumerated_sets.py | 1 + src/sage/categories/examples/finite_monoids.py | 1 + src/sage/categories/examples/finite_semigroups.py | 1 + src/sage/categories/examples/finite_weyl_groups.py | 1 + .../examples/graded_connected_hopf_algebras_with_basis.py | 1 + src/sage/categories/examples/graded_modules_with_basis.py | 1 + src/sage/categories/examples/graphs.py | 1 + src/sage/categories/examples/hopf_algebras_with_basis.py | 1 + src/sage/categories/examples/infinite_enumerated_sets.py | 1 + src/sage/categories/examples/lie_algebras.py | 1 + src/sage/categories/examples/lie_algebras_with_basis.py | 1 + src/sage/categories/examples/magmas.py | 1 + src/sage/categories/examples/manifolds.py | 1 + src/sage/categories/examples/monoids.py | 1 + src/sage/categories/examples/posets.py | 1 + src/sage/categories/examples/semigroups.py | 1 + src/sage/categories/examples/semigroups_cython.pyx | 1 + src/sage/categories/examples/sets_cat.py | 1 + src/sage/categories/examples/sets_with_grading.py | 1 + src/sage/categories/examples/with_realizations.py | 1 + src/sage/categories/facade_sets.py | 1 + src/sage/categories/fields.py | 1 + src/sage/categories/filtered_algebras.py | 1 + src/sage/categories/filtered_algebras_with_basis.py | 1 + src/sage/categories/filtered_hopf_algebras_with_basis.py | 1 + src/sage/categories/filtered_modules.py | 1 + src/sage/categories/filtered_modules_with_basis.py | 1 + src/sage/categories/finite_complex_reflection_groups.py | 1 + src/sage/categories/finite_coxeter_groups.py | 1 + src/sage/categories/finite_crystals.py | 1 + src/sage/categories/finite_dimensional_algebras_with_basis.py | 1 + .../categories/finite_dimensional_bialgebras_with_basis.py | 1 + .../categories/finite_dimensional_coalgebras_with_basis.py | 1 + .../finite_dimensional_graded_lie_algebras_with_basis.py | 1 + .../categories/finite_dimensional_hopf_algebras_with_basis.py | 1 + .../categories/finite_dimensional_lie_algebras_with_basis.py | 1 + src/sage/categories/finite_dimensional_modules_with_basis.py | 1 + .../finite_dimensional_nilpotent_lie_algebras_with_basis.py | 1 + .../finite_dimensional_semisimple_algebras_with_basis.py | 1 + src/sage/categories/finite_enumerated_sets.py | 1 + src/sage/categories/finite_fields.py | 1 + src/sage/categories/finite_groups.py | 1 + src/sage/categories/finite_lattice_posets.py | 1 + src/sage/categories/finite_monoids.py | 1 + src/sage/categories/finite_permutation_groups.py | 1 + src/sage/categories/finite_posets.py | 1 + src/sage/categories/finite_semigroups.py | 1 + src/sage/categories/finite_sets.py | 1 + src/sage/categories/finite_weyl_groups.py | 1 + .../categories/finitely_generated_lambda_bracket_algebras.py | 1 + .../categories/finitely_generated_lie_conformal_algebras.py | 1 + src/sage/categories/finitely_generated_magmas.py | 1 + src/sage/categories/finitely_generated_semigroups.py | 1 + src/sage/categories/function_fields.py | 1 + src/sage/categories/functor.pxd | 1 + src/sage/categories/functor.pyx | 1 + src/sage/categories/g_sets.py | 1 + src/sage/categories/gcd_domains.py | 1 + src/sage/categories/generalized_coxeter_groups.py | 1 + src/sage/categories/graded_algebras.py | 1 + src/sage/categories/graded_algebras_with_basis.py | 1 + src/sage/categories/graded_bialgebras.py | 1 + src/sage/categories/graded_bialgebras_with_basis.py | 1 + src/sage/categories/graded_coalgebras.py | 1 + src/sage/categories/graded_coalgebras_with_basis.py | 1 + src/sage/categories/graded_hopf_algebras.py | 1 + src/sage/categories/graded_hopf_algebras_with_basis.py | 1 + src/sage/categories/graded_lie_algebras.py | 1 + src/sage/categories/graded_lie_algebras_with_basis.py | 1 + src/sage/categories/graded_lie_conformal_algebras.py | 1 + src/sage/categories/graded_modules.py | 1 + src/sage/categories/graded_modules_with_basis.py | 1 + src/sage/categories/graphs.py | 1 + src/sage/categories/group_algebras.py | 1 + src/sage/categories/groupoid.py | 1 + src/sage/categories/groups.py | 1 + src/sage/categories/h_trivial_semigroups.py | 1 + src/sage/categories/hecke_modules.py | 1 + src/sage/categories/highest_weight_crystals.py | 1 + src/sage/categories/homset.py | 1 + src/sage/categories/homsets.py | 1 + src/sage/categories/hopf_algebras.py | 1 + src/sage/categories/hopf_algebras_with_basis.py | 1 + src/sage/categories/infinite_enumerated_sets.py | 1 + src/sage/categories/integral_domains.py | 1 + src/sage/categories/isomorphic_objects.py | 1 + src/sage/categories/j_trivial_semigroups.py | 1 + src/sage/categories/kac_moody_algebras.py | 1 + src/sage/categories/l_trivial_semigroups.py | 1 + src/sage/categories/lambda_bracket_algebras.py | 1 + src/sage/categories/lambda_bracket_algebras_with_basis.py | 1 + src/sage/categories/lattice_posets.py | 1 + src/sage/categories/left_modules.py | 1 + src/sage/categories/lie_algebras.py | 1 + src/sage/categories/lie_algebras_with_basis.py | 1 + src/sage/categories/lie_conformal_algebras.py | 1 + src/sage/categories/lie_conformal_algebras_with_basis.py | 1 + src/sage/categories/lie_groups.py | 1 + src/sage/categories/loop_crystals.py | 1 + src/sage/categories/magmas.py | 1 + src/sage/categories/magmas_and_additive_magmas.py | 1 + src/sage/categories/magmatic_algebras.py | 1 + src/sage/categories/manifolds.py | 1 + src/sage/categories/map.pxd | 1 + src/sage/categories/map.pyx | 1 + src/sage/categories/matrix_algebras.py | 1 + src/sage/categories/metric_spaces.py | 1 + src/sage/categories/modular_abelian_varieties.py | 1 + src/sage/categories/modules.py | 1 + src/sage/categories/modules_with_basis.py | 1 + src/sage/categories/monoid_algebras.py | 1 + src/sage/categories/monoids.py | 1 + src/sage/categories/morphism.pxd | 1 + src/sage/categories/morphism.pyx | 1 + src/sage/categories/noetherian_rings.py | 1 + src/sage/categories/number_fields.py | 1 + src/sage/categories/objects.py | 1 + src/sage/categories/partially_ordered_monoids.py | 1 + src/sage/categories/permutation_groups.py | 1 + src/sage/categories/pointed_sets.py | 1 + src/sage/categories/polyhedra.py | 1 + src/sage/categories/poor_man_map.py | 1 + src/sage/categories/posets.py | 1 + src/sage/categories/primer.py | 1 + src/sage/categories/principal_ideal_domains.py | 1 + src/sage/categories/pushout.py | 1 + src/sage/categories/quantum_group_representations.py | 1 + src/sage/categories/quotient_fields.py | 1 + src/sage/categories/quotients.py | 1 + src/sage/categories/r_trivial_semigroups.py | 1 + src/sage/categories/realizations.py | 1 + src/sage/categories/regular_crystals.py | 1 + src/sage/categories/regular_supercrystals.py | 1 + src/sage/categories/right_modules.py | 1 + src/sage/categories/ring_ideals.py | 1 + src/sage/categories/rings.py | 1 + src/sage/categories/rngs.py | 1 + src/sage/categories/schemes.py | 1 + src/sage/categories/semigroups.py | 1 + src/sage/categories/semirings.py | 1 + src/sage/categories/semisimple_algebras.py | 1 + src/sage/categories/sets_cat.py | 1 + src/sage/categories/sets_with_grading.py | 1 + src/sage/categories/sets_with_partial_maps.py | 1 + src/sage/categories/shephard_groups.py | 1 + src/sage/categories/signed_tensor.py | 1 + src/sage/categories/simplicial_complexes.py | 1 + src/sage/categories/simplicial_sets.py | 1 + src/sage/categories/subobjects.py | 1 + src/sage/categories/subquotients.py | 1 + src/sage/categories/super_algebras.py | 1 + src/sage/categories/super_algebras_with_basis.py | 1 + src/sage/categories/super_hopf_algebras_with_basis.py | 1 + src/sage/categories/super_lie_conformal_algebras.py | 1 + src/sage/categories/super_modules.py | 1 + src/sage/categories/super_modules_with_basis.py | 1 + src/sage/categories/supercommutative_algebras.py | 1 + src/sage/categories/supercrystals.py | 1 + src/sage/categories/tensor.py | 1 + src/sage/categories/topological_spaces.py | 1 + src/sage/categories/triangular_kac_moody_algebras.py | 1 + src/sage/categories/tutorial.py | 1 + src/sage/categories/unique_factorization_domains.py | 1 + src/sage/categories/unital_algebras.py | 1 + src/sage/categories/vector_bundles.py | 1 + src/sage/categories/vector_spaces.py | 1 + src/sage/categories/weyl_groups.py | 1 + src/sage/categories/with_realizations.py | 1 + src/sage/cpython/__init__.py | 1 + src/sage/cpython/_py2_random.py | 1 + src/sage/cpython/all.py | 1 + src/sage/cpython/atexit.pyx | 1 + src/sage/cpython/builtin_types.pyx | 1 + src/sage/cpython/cython_metaclass.pxd | 1 + src/sage/cpython/cython_metaclass.pyx | 1 + src/sage/cpython/debug.pyx | 1 + src/sage/cpython/dict_del_by_value.pxd | 1 + src/sage/cpython/dict_del_by_value.pyx | 1 + src/sage/cpython/getattr.pxd | 1 + src/sage/cpython/getattr.pyx | 1 + src/sage/cpython/pycore_long.pxd | 1 + src/sage/cpython/python_debug.pxd | 1 + src/sage/cpython/string.pxd | 1 + src/sage/cpython/string.pyx | 1 + src/sage/cpython/type.pxd | 1 + src/sage/cpython/type.pyx | 1 + src/sage/cpython/wrapperdescr.pxd | 1 + src/sage/cpython/wrapperdescr.pyx | 1 + src/sage/doctest/__init__.py | 1 + src/sage/doctest/all.py | 1 + src/sage/doctest/control.py | 1 + src/sage/doctest/external.py | 1 + src/sage/doctest/fixtures.py | 1 + src/sage/doctest/forker.py | 1 + src/sage/doctest/parsing.py | 1 + src/sage/doctest/parsing_test.py | 1 + src/sage/doctest/reporting.py | 1 + src/sage/doctest/sources.py | 1 + src/sage/doctest/test.py | 1 + src/sage/doctest/util.py | 1 + src/sage/env.py | 1 + src/sage/ext/all__sagemath_objects.py | 1 + src/sage/ext/stdsage.pxd | 1 + src/sage/features/__init__.py | 1 + src/sage/features/all.py | 1 + src/sage/features/bliss.py | 1 + src/sage/features/cddlib.py | 1 + src/sage/features/csdp.py | 1 + src/sage/features/cython.py | 1 + src/sage/features/databases.py | 1 + src/sage/features/dvipng.py | 1 + src/sage/features/ecm.py | 1 + src/sage/features/ffmpeg.py | 1 + src/sage/features/four_ti_2.py | 1 + src/sage/features/fricas.py | 1 + src/sage/features/gap.py | 1 + src/sage/features/gfan.py | 1 + src/sage/features/graph_generators.py | 1 + src/sage/features/graphviz.py | 1 + src/sage/features/igraph.py | 1 + src/sage/features/imagemagick.py | 1 + src/sage/features/interfaces.py | 1 + src/sage/features/internet.py | 1 + src/sage/features/jmol.py | 1 + src/sage/features/join_feature.py | 1 + src/sage/features/kenzo.py | 1 + src/sage/features/latex.py | 1 + src/sage/features/latte.py | 1 + src/sage/features/lrs.py | 1 + src/sage/features/mcqd.py | 1 + src/sage/features/meataxe.py | 1 + src/sage/features/mip_backends.py | 1 + src/sage/features/msolve.py | 1 + src/sage/features/nauty.py | 1 + src/sage/features/normaliz.py | 1 + src/sage/features/palp.py | 1 + src/sage/features/pandoc.py | 1 + src/sage/features/pdf2svg.py | 1 + src/sage/features/phitigra.py | 1 + src/sage/features/pkg_systems.py | 1 + src/sage/features/polymake.py | 1 + src/sage/features/poppler.py | 1 + src/sage/features/rubiks.py | 1 + src/sage/features/sagemath.py | 1 + src/sage/features/singular.py | 1 + src/sage/features/sphinx.py | 1 + src/sage/features/standard.py | 1 + src/sage/features/symengine_py.py | 1 + src/sage/features/tdlib.py | 1 + src/sage/features/threejs.py | 1 + src/sage/graphs/all__sagemath_bliss.py | 1 + src/sage/graphs/all__sagemath_mcqd.py | 1 + src/sage/graphs/all__sagemath_tdlib.py | 1 + src/sage/graphs/graph_decompositions/all__sagemath_tdlib.py | 1 + src/sage/libs/all__sagemath_coxeter3.py | 1 + src/sage/libs/all__sagemath_meataxe.py | 1 + src/sage/libs/all__sagemath_objects.py | 1 + src/sage/libs/all__sagemath_sirocco.py | 1 + src/sage/libs/gmp/__init__.py | 1 + src/sage/libs/gmp/all.pxd | 1 + src/sage/libs/gmp/binop.pxd | 1 + src/sage/libs/gmp/misc.pxd | 1 + src/sage/libs/gmp/mpf.pxd | 1 + src/sage/libs/gmp/mpn.pxd | 1 + src/sage/libs/gmp/mpq.pxd | 1 + src/sage/libs/gmp/mpz.pxd | 1 + src/sage/libs/gmp/pylong.pxd | 1 + src/sage/libs/gmp/pylong.pyx | 1 + src/sage/libs/gmp/random.pxd | 1 + src/sage/libs/gmp/randomize.pxd | 1 + src/sage/libs/gmp/types.pxd | 1 + src/sage/matrix/all__sagemath_meataxe.py | 1 + src/sage/misc/abstract_method.py | 1 + src/sage/misc/all__sagemath_environment.py | 1 + src/sage/misc/all__sagemath_objects.py | 1 + src/sage/misc/all__sagemath_repl.py | 1 + src/sage/misc/banner.py | 1 + src/sage/misc/bindable_class.py | 1 + src/sage/misc/c3_controlled.pxd | 1 + src/sage/misc/c3_controlled.pyx | 1 + src/sage/misc/cachefunc.pxd | 1 + src/sage/misc/cachefunc.pyx | 1 + src/sage/misc/call.py | 1 + src/sage/misc/classcall_metaclass.pxd | 1 + src/sage/misc/classcall_metaclass.pyx | 1 + src/sage/misc/constant_function.pyx | 1 + src/sage/misc/decorators.py | 1 + src/sage/misc/fast_methods.pxd | 1 + src/sage/misc/fast_methods.pyx | 1 + src/sage/misc/flatten.py | 1 + src/sage/misc/function_mangling.pxd | 1 + src/sage/misc/function_mangling.pyx | 1 + src/sage/misc/inherit_comparison.pxd | 1 + src/sage/misc/inherit_comparison.pyx | 1 + src/sage/misc/instancedoc.pyx | 1 + src/sage/misc/lazy_attribute.pyx | 1 + src/sage/misc/lazy_format.py | 1 + src/sage/misc/lazy_import.pyx | 1 + src/sage/misc/lazy_import_cache.py | 1 + src/sage/misc/lazy_string.pxd | 1 + src/sage/misc/lazy_string.pyx | 1 + src/sage/misc/misc.py | 1 + src/sage/misc/misc_c.pxd | 1 + src/sage/misc/misc_c.pyx | 1 + src/sage/misc/namespace_package.py | 1 + src/sage/misc/nested_class.pxd | 1 + src/sage/misc/nested_class.pyx | 1 + src/sage/misc/package.py | 1 + src/sage/misc/persist.pyx | 1 + src/sage/misc/prandom.py | 1 + src/sage/misc/randstate.pxd | 1 + src/sage/misc/randstate.pyx | 1 + src/sage/misc/repr.py | 1 + src/sage/misc/sage_eval.py | 1 + src/sage/misc/sage_input.py | 1 + src/sage/misc/sage_unittest.py | 1 + src/sage/misc/sagedoc.py | 1 + src/sage/misc/sageinspect.py | 1 + src/sage/misc/superseded.py | 1 + src/sage/misc/temporary_file.py | 1 + src/sage/misc/timing.py | 1 + src/sage/misc/unknown.py | 1 + src/sage/misc/verbose.py | 1 + src/sage/misc/viewer.py | 1 + src/sage/misc/weak_dict.pxd | 1 + src/sage/misc/weak_dict.pyx | 1 + src/sage/repl/__init__.py | 1 + src/sage/repl/all.py | 1 + src/sage/repl/attach.py | 1 + src/sage/repl/configuration.py | 1 + src/sage/repl/display/__init__.py | 1 + src/sage/repl/display/fancy_repr.py | 1 + src/sage/repl/display/formatter.py | 1 + src/sage/repl/display/jsmol_iframe.py | 1 + src/sage/repl/display/pretty_print.py | 1 + src/sage/repl/display/util.py | 1 + src/sage/repl/image.py | 1 + src/sage/repl/inputhook.py | 1 + src/sage/repl/interface_magic.py | 1 + src/sage/repl/interpreter.py | 1 + src/sage/repl/ipython_extension.py | 1 + src/sage/repl/ipython_kernel/__init__.py | 1 + src/sage/repl/ipython_kernel/__main__.py | 1 + src/sage/repl/ipython_kernel/all_jupyter.py | 1 + src/sage/repl/ipython_kernel/install.py | 1 + src/sage/repl/ipython_kernel/interact.py | 1 + src/sage/repl/ipython_kernel/kernel.py | 1 + src/sage/repl/ipython_kernel/widgets.py | 1 + src/sage/repl/ipython_kernel/widgets_sagenb.py | 1 + src/sage/repl/ipython_tests.py | 1 + src/sage/repl/load.py | 1 + src/sage/repl/preparse.py | 1 + src/sage/repl/prompts.py | 1 + src/sage/repl/rich_output/__init__.py | 1 + src/sage/repl/rich_output/backend_base.py | 1 + src/sage/repl/rich_output/backend_doctest.py | 1 + src/sage/repl/rich_output/backend_emacs.py | 1 + src/sage/repl/rich_output/backend_ipython.py | 1 + src/sage/repl/rich_output/buffer.py | 1 + src/sage/repl/rich_output/display_manager.py | 1 + src/sage/repl/rich_output/output_basic.py | 1 + src/sage/repl/rich_output/output_browser.py | 1 + src/sage/repl/rich_output/output_catalog.py | 1 + src/sage/repl/rich_output/output_graphics.py | 1 + src/sage/repl/rich_output/output_graphics3d.py | 1 + src/sage/repl/rich_output/output_video.py | 1 + src/sage/repl/rich_output/preferences.py | 1 + src/sage/repl/rich_output/pretty_print.py | 1 + src/sage/repl/rich_output/test_backend.py | 1 + src/sage/repl/user_globals.py | 1 + src/sage/rings/all__sagemath_categories.py | 1 + src/sage/rings/all__sagemath_objects.py | 1 + src/sage/rings/ideal.py | 1 + src/sage/rings/integer_fake.pxd | 1 + src/sage/rings/ring.pxd | 1 + src/sage/rings/ring.pyx | 1 + src/sage/sets/all__sagemath_objects.py | 1 + src/sage/sets/pythonclass.pxd | 1 + src/sage/sets/pythonclass.pyx | 1 + src/sage/structure/__init__.py | 1 + src/sage/structure/all.py | 1 + src/sage/structure/category_object.pxd | 1 + src/sage/structure/category_object.pyx | 1 + src/sage/structure/coerce.pxd | 1 + src/sage/structure/coerce.pyx | 1 + src/sage/structure/coerce_actions.pxd | 1 + src/sage/structure/coerce_actions.pyx | 1 + src/sage/structure/coerce_dict.pxd | 1 + src/sage/structure/coerce_dict.pyx | 1 + src/sage/structure/coerce_exceptions.py | 1 + src/sage/structure/coerce_maps.pxd | 1 + src/sage/structure/coerce_maps.pyx | 1 + src/sage/structure/debug_options.pxd | 1 + src/sage/structure/debug_options.pyx | 1 + src/sage/structure/dynamic_class.py | 1 + src/sage/structure/element.pxd | 1 + src/sage/structure/element.pyx | 1 + src/sage/structure/element_wrapper.pxd | 1 + src/sage/structure/element_wrapper.pyx | 1 + src/sage/structure/factorization.py | 1 + src/sage/structure/factorization_integer.py | 1 + src/sage/structure/factory.pyx | 1 + src/sage/structure/formal_sum.py | 1 + src/sage/structure/gens_py.py | 1 + src/sage/structure/global_options.py | 1 + src/sage/structure/indexed_generators.py | 1 + src/sage/structure/list_clone.pxd | 1 + src/sage/structure/list_clone.pyx | 1 + src/sage/structure/list_clone_demo.pyx | 1 + src/sage/structure/list_clone_timings.py | 1 + src/sage/structure/list_clone_timings_cy.pyx | 1 + src/sage/structure/mutability.pxd | 3 ++- src/sage/structure/mutability.pyx | 1 + src/sage/structure/nonexact.py | 1 + src/sage/structure/parent.pxd | 1 + src/sage/structure/parent.pyx | 1 + src/sage/structure/parent_base.pxd | 1 + src/sage/structure/parent_base.pyx | 1 + src/sage/structure/parent_gens.pxd | 1 + src/sage/structure/parent_gens.pyx | 1 + src/sage/structure/parent_old.pxd | 1 + src/sage/structure/parent_old.pyx | 1 + src/sage/structure/proof/__init__.py | 1 + src/sage/structure/proof/all.py | 1 + src/sage/structure/proof/proof.py | 1 + src/sage/structure/richcmp.pxd | 1 + src/sage/structure/richcmp.pyx | 1 + src/sage/structure/sage_object.pxd | 1 + src/sage/structure/sage_object.pyx | 1 + src/sage/structure/sage_object_test.py | 1 + src/sage/structure/sequence.py | 1 + src/sage/structure/set_factories.py | 1 + src/sage/structure/set_factories_example.py | 1 + src/sage/structure/support_view.py | 1 + src/sage/structure/test_factory.py | 1 + src/sage/structure/unique_representation.py | 1 + src/sage/typeset/all.py | 1 + src/sage/typeset/ascii_art.py | 1 + src/sage/typeset/character_art.py | 1 + src/sage/typeset/character_art_factory.py | 1 + src/sage/typeset/symbols.py | 1 + src/sage/typeset/unicode_art.py | 1 + src/sage/typeset/unicode_characters.py | 1 + src/sage/version.py | 1 + 530 files changed, 531 insertions(+), 1 deletion(-) diff --git a/src/sage/all__sagemath_bliss.py b/src/sage/all__sagemath_bliss.py index e69de29bb2d..00e01e7dfe7 100644 --- a/src/sage/all__sagemath_bliss.py +++ b/src/sage/all__sagemath_bliss.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-bliss diff --git a/src/sage/all__sagemath_categories.py b/src/sage/all__sagemath_categories.py index 872e717af00..cb37b0baf2f 100644 --- a/src/sage/all__sagemath_categories.py +++ b/src/sage/all__sagemath_categories.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories from sage.all__sagemath_objects import * from sage.categories.all import * diff --git a/src/sage/all__sagemath_coxeter3.py b/src/sage/all__sagemath_coxeter3.py index e69de29bb2d..61138b7bc1a 100644 --- a/src/sage/all__sagemath_coxeter3.py +++ b/src/sage/all__sagemath_coxeter3.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-coxeter3 diff --git a/src/sage/all__sagemath_environment.py b/src/sage/all__sagemath_environment.py index f68c74ab115..4baf97bae83 100644 --- a/src/sage/all__sagemath_environment.py +++ b/src/sage/all__sagemath_environment.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment from sage.env import SAGE_ROOT, SAGE_SRC, SAGE_DOC_SRC, SAGE_LOCAL, DOT_SAGE, SAGE_ENV from sage.misc.all__sagemath_environment import * diff --git a/src/sage/all__sagemath_mcqd.py b/src/sage/all__sagemath_mcqd.py index e69de29bb2d..9d46f0ff6ba 100644 --- a/src/sage/all__sagemath_mcqd.py +++ b/src/sage/all__sagemath_mcqd.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-mcqd diff --git a/src/sage/all__sagemath_meataxe.py b/src/sage/all__sagemath_meataxe.py index e69de29bb2d..fd1e327ee2f 100644 --- a/src/sage/all__sagemath_meataxe.py +++ b/src/sage/all__sagemath_meataxe.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-meataxe diff --git a/src/sage/all__sagemath_objects.py b/src/sage/all__sagemath_objects.py index 7780f245aae..72785a396e0 100644 --- a/src/sage/all__sagemath_objects.py +++ b/src/sage/all__sagemath_objects.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects import os import sys import operator diff --git a/src/sage/all__sagemath_repl.py b/src/sage/all__sagemath_repl.py index ca3403e382c..3d0507becf8 100644 --- a/src/sage/all__sagemath_repl.py +++ b/src/sage/all__sagemath_repl.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl ############ setup warning filters before importing Sage stuff #### import sys import warnings diff --git a/src/sage/all__sagemath_sirocco.py b/src/sage/all__sagemath_sirocco.py index e69de29bb2d..44db2511e89 100644 --- a/src/sage/all__sagemath_sirocco.py +++ b/src/sage/all__sagemath_sirocco.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-sirocco diff --git a/src/sage/all__sagemath_tdlib.py b/src/sage/all__sagemath_tdlib.py index e69de29bb2d..e26612c8409 100644 --- a/src/sage/all__sagemath_tdlib.py +++ b/src/sage/all__sagemath_tdlib.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-tdlib diff --git a/src/sage/arith/all__sagemath_objects.py b/src/sage/arith/all__sagemath_objects.py index 38e44245ad3..40da49fdd73 100644 --- a/src/sage/arith/all__sagemath_objects.py +++ b/src/sage/arith/all__sagemath_objects.py @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-objects # The presence of this file ensures that sage_setup for sagemath-objects # considers this directory as a namespace package diff --git a/src/sage/arith/long.pxd b/src/sage/arith/long.pxd index 76c7d7f015d..44923f802da 100644 --- a/src/sage/arith/long.pxd +++ b/src/sage/arith/long.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # sage.doctest: needs sage.misc.cython r""" Fast conversion of Python objects to C long diff --git a/src/sage/arith/numerical_approx.pxd b/src/sage/arith/numerical_approx.pxd index 85f92eca336..794e443e449 100644 --- a/src/sage/arith/numerical_approx.pxd +++ b/src/sage/arith/numerical_approx.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # sage.doctest: needs sage.rings.real_mpfr cpdef inline long digits_to_bits(d) except -1: diff --git a/src/sage/arith/numerical_approx.pyx b/src/sage/arith/numerical_approx.pyx index 6698a0ec317..642b9418646 100644 --- a/src/sage/arith/numerical_approx.pyx +++ b/src/sage/arith/numerical_approx.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # sage.doctest: needs sage.rings.real_mpfr r""" Generic numerical approximation function diff --git a/src/sage/arith/power.pxd b/src/sage/arith/power.pxd index 7651245d2eb..8fe386ad09d 100644 --- a/src/sage/arith/power.pxd +++ b/src/sage/arith/power.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from cpython.number cimport PyNumber_TrueDivide from sage.structure.element cimport Element diff --git a/src/sage/arith/power.pyx b/src/sage/arith/power.pyx index e9a1f7972eb..85096b6c703 100644 --- a/src/sage/arith/power.pyx +++ b/src/sage/arith/power.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Generic implementation of powering diff --git a/src/sage/categories/action.pxd b/src/sage/categories/action.pxd index 5883adebc97..0cedf7be6b5 100644 --- a/src/sage/categories/action.pxd +++ b/src/sage/categories/action.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.structure.element cimport Element from sage.categories.morphism cimport Morphism from sage.categories.map cimport Map diff --git a/src/sage/categories/action.pyx b/src/sage/categories/action.pyx index 8f2f2beb96f..c38f7af4d7d 100644 --- a/src/sage/categories/action.pyx +++ b/src/sage/categories/action.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Group, ring, etc. actions on objects diff --git a/src/sage/categories/additive_groups.py b/src/sage/categories/additive_groups.py index 25623d0eeb3..cf079c79406 100644 --- a/src/sage/categories/additive_groups.py +++ b/src/sage/categories/additive_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Additive groups """ diff --git a/src/sage/categories/additive_magmas.py b/src/sage/categories/additive_magmas.py index cfd518fa32b..ce01324c6b0 100644 --- a/src/sage/categories/additive_magmas.py +++ b/src/sage/categories/additive_magmas.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Additive magmas """ diff --git a/src/sage/categories/additive_monoids.py b/src/sage/categories/additive_monoids.py index c0576cd8616..3d76c87113b 100644 --- a/src/sage/categories/additive_monoids.py +++ b/src/sage/categories/additive_monoids.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Additive monoids """ diff --git a/src/sage/categories/additive_semigroups.py b/src/sage/categories/additive_semigroups.py index 038221fe5be..2df1cb6e997 100644 --- a/src/sage/categories/additive_semigroups.py +++ b/src/sage/categories/additive_semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Additive semigroups """ diff --git a/src/sage/categories/affine_weyl_groups.py b/src/sage/categories/affine_weyl_groups.py index 7ae931201a9..9a26f8c5590 100644 --- a/src/sage/categories/affine_weyl_groups.py +++ b/src/sage/categories/affine_weyl_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Affine Weyl groups """ diff --git a/src/sage/categories/algebra_functor.py b/src/sage/categories/algebra_functor.py index 051374fa43c..005e0f3669f 100644 --- a/src/sage/categories/algebra_functor.py +++ b/src/sage/categories/algebra_functor.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # sage.doctest: needs sage.groups r""" Group algebras and beyond: the Algebra functorial construction diff --git a/src/sage/categories/algebra_ideals.py b/src/sage/categories/algebra_ideals.py index c33fa0ef7b0..c973743adc1 100644 --- a/src/sage/categories/algebra_ideals.py +++ b/src/sage/categories/algebra_ideals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Algebra ideals """ diff --git a/src/sage/categories/algebra_modules.py b/src/sage/categories/algebra_modules.py index e827cc7130d..8a84fa109d7 100644 --- a/src/sage/categories/algebra_modules.py +++ b/src/sage/categories/algebra_modules.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Algebra modules """ diff --git a/src/sage/categories/algebras.py b/src/sage/categories/algebras.py index e4c54abf7c1..7dcf02467ff 100644 --- a/src/sage/categories/algebras.py +++ b/src/sage/categories/algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Algebras diff --git a/src/sage/categories/algebras_with_basis.py b/src/sage/categories/algebras_with_basis.py index 0d1f72eb17c..ac7bc6f8040 100644 --- a/src/sage/categories/algebras_with_basis.py +++ b/src/sage/categories/algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Algebras With Basis """ diff --git a/src/sage/categories/all.py b/src/sage/categories/all.py index e4171ef4439..46f922848dc 100644 --- a/src/sage/categories/all.py +++ b/src/sage/categories/all.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Sage categories quickref diff --git a/src/sage/categories/all__sagemath_objects.py b/src/sage/categories/all__sagemath_objects.py index d87b4a1d20e..1fc85ecd105 100644 --- a/src/sage/categories/all__sagemath_objects.py +++ b/src/sage/categories/all__sagemath_objects.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # Subset of sage.categories.all that is made available by the sage-objects distribution from sage.misc.lazy_import import lazy_import diff --git a/src/sage/categories/aperiodic_semigroups.py b/src/sage/categories/aperiodic_semigroups.py index 474930f2525..b7ecff10622 100644 --- a/src/sage/categories/aperiodic_semigroups.py +++ b/src/sage/categories/aperiodic_semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Aperiodic semigroups """ diff --git a/src/sage/categories/associative_algebras.py b/src/sage/categories/associative_algebras.py index 268c9054e97..f478602d5d4 100644 --- a/src/sage/categories/associative_algebras.py +++ b/src/sage/categories/associative_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Associative algebras """ diff --git a/src/sage/categories/basic.py b/src/sage/categories/basic.py index 568c9b7c114..cfc385513cb 100644 --- a/src/sage/categories/basic.py +++ b/src/sage/categories/basic.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" A subset of sage.categories.all with just the basic categories needed for sage startup (i.e. to define ZZ, QQ, ...). diff --git a/src/sage/categories/bialgebras.py b/src/sage/categories/bialgebras.py index b927766568b..92df3723ad1 100644 --- a/src/sage/categories/bialgebras.py +++ b/src/sage/categories/bialgebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat r""" Bialgebras diff --git a/src/sage/categories/bialgebras_with_basis.py b/src/sage/categories/bialgebras_with_basis.py index ced37464419..ece28d15f06 100644 --- a/src/sage/categories/bialgebras_with_basis.py +++ b/src/sage/categories/bialgebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Bialgebras with basis """ diff --git a/src/sage/categories/bimodules.py b/src/sage/categories/bimodules.py index 5748ebb52b0..d8b2d759a0a 100644 --- a/src/sage/categories/bimodules.py +++ b/src/sage/categories/bimodules.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Bimodules """ diff --git a/src/sage/categories/cartesian_product.py b/src/sage/categories/cartesian_product.py index bfedd135b2e..f4d5f0a630f 100644 --- a/src/sage/categories/cartesian_product.py +++ b/src/sage/categories/cartesian_product.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Cartesian Product Functorial Construction diff --git a/src/sage/categories/category.py b/src/sage/categories/category.py index 37192366c6d..fdbbd93df68 100644 --- a/src/sage/categories/category.py +++ b/src/sage/categories/category.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Categories diff --git a/src/sage/categories/category_cy_helper.pxd b/src/sage/categories/category_cy_helper.pxd index f50ce4e8226..2446bbc6ac4 100644 --- a/src/sage/categories/category_cy_helper.pxd +++ b/src/sage/categories/category_cy_helper.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects cpdef tuple _sort_uniq(categories) cdef class AxiomContainer(dict): pass diff --git a/src/sage/categories/category_cy_helper.pyx b/src/sage/categories/category_cy_helper.pyx index d3859221c13..dc5cf578daa 100644 --- a/src/sage/categories/category_cy_helper.pyx +++ b/src/sage/categories/category_cy_helper.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Fast functions for the category framework diff --git a/src/sage/categories/category_singleton.pxd b/src/sage/categories/category_singleton.pxd index b9b4a703b8d..b001228a042 100644 --- a/src/sage/categories/category_singleton.pxd +++ b/src/sage/categories/category_singleton.pxd @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-objects cdef class Category_contains_method_by_parent_class: cdef type _parent_class_of_category diff --git a/src/sage/categories/category_singleton.pyx b/src/sage/categories/category_singleton.pyx index 543ce0375f7..446c3f5ee33 100644 --- a/src/sage/categories/category_singleton.pyx +++ b/src/sage/categories/category_singleton.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Singleton categories """ diff --git a/src/sage/categories/category_types.py b/src/sage/categories/category_types.py index 46736d03620..9720d977fe3 100644 --- a/src/sage/categories/category_types.py +++ b/src/sage/categories/category_types.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Specific category classes diff --git a/src/sage/categories/category_with_axiom.py b/src/sage/categories/category_with_axiom.py index 005e86d7b87..30d306d77bb 100644 --- a/src/sage/categories/category_with_axiom.py +++ b/src/sage/categories/category_with_axiom.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Axioms diff --git a/src/sage/categories/chain_complexes.py b/src/sage/categories/chain_complexes.py index 9616aa608c4..c2cd0e92c38 100644 --- a/src/sage/categories/chain_complexes.py +++ b/src/sage/categories/chain_complexes.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Category of chain complexes """ diff --git a/src/sage/categories/classical_crystals.py b/src/sage/categories/classical_crystals.py index fb5d2c7cde8..777eb16dddc 100644 --- a/src/sage/categories/classical_crystals.py +++ b/src/sage/categories/classical_crystals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.graphs sage.combinat r""" Classical Crystals diff --git a/src/sage/categories/coalgebras.py b/src/sage/categories/coalgebras.py index 07b18882d49..2b79d9d3fc6 100644 --- a/src/sage/categories/coalgebras.py +++ b/src/sage/categories/coalgebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat r""" Coalgebras diff --git a/src/sage/categories/coalgebras_with_basis.py b/src/sage/categories/coalgebras_with_basis.py index 1a3ecfe8302..03e6fd2a5cd 100644 --- a/src/sage/categories/coalgebras_with_basis.py +++ b/src/sage/categories/coalgebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Coalgebras with basis """ diff --git a/src/sage/categories/coercion_methods.pyx b/src/sage/categories/coercion_methods.pyx index 830bd238c66..0084b39d5eb 100644 --- a/src/sage/categories/coercion_methods.pyx +++ b/src/sage/categories/coercion_methods.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Coercion methods for categories diff --git a/src/sage/categories/commutative_additive_groups.py b/src/sage/categories/commutative_additive_groups.py index ce1dfc5186a..b4ef4794212 100644 --- a/src/sage/categories/commutative_additive_groups.py +++ b/src/sage/categories/commutative_additive_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Commutative additive groups """ diff --git a/src/sage/categories/commutative_additive_monoids.py b/src/sage/categories/commutative_additive_monoids.py index ac0bceaf43b..1b38ab845a2 100644 --- a/src/sage/categories/commutative_additive_monoids.py +++ b/src/sage/categories/commutative_additive_monoids.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Commutative additive monoids """ diff --git a/src/sage/categories/commutative_additive_semigroups.py b/src/sage/categories/commutative_additive_semigroups.py index 93c0f2eab5c..db28e51221b 100644 --- a/src/sage/categories/commutative_additive_semigroups.py +++ b/src/sage/categories/commutative_additive_semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Commutative additive semigroups """ diff --git a/src/sage/categories/commutative_algebra_ideals.py b/src/sage/categories/commutative_algebra_ideals.py index e47e1c4f87e..3df812635e8 100644 --- a/src/sage/categories/commutative_algebra_ideals.py +++ b/src/sage/categories/commutative_algebra_ideals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Commutative algebra ideals """ diff --git a/src/sage/categories/commutative_algebras.py b/src/sage/categories/commutative_algebras.py index 986a45db3e3..f7dded587dc 100644 --- a/src/sage/categories/commutative_algebras.py +++ b/src/sage/categories/commutative_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Commutative algebras """ diff --git a/src/sage/categories/commutative_ring_ideals.py b/src/sage/categories/commutative_ring_ideals.py index 8659b0c793b..630070dd526 100644 --- a/src/sage/categories/commutative_ring_ideals.py +++ b/src/sage/categories/commutative_ring_ideals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Commutative ring ideals """ diff --git a/src/sage/categories/commutative_rings.py b/src/sage/categories/commutative_rings.py index c5e5f85193d..0c00abea30d 100644 --- a/src/sage/categories/commutative_rings.py +++ b/src/sage/categories/commutative_rings.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Commutative rings """ diff --git a/src/sage/categories/complete_discrete_valuation.py b/src/sage/categories/complete_discrete_valuation.py index 7376d947530..ac3fddcf460 100644 --- a/src/sage/categories/complete_discrete_valuation.py +++ b/src/sage/categories/complete_discrete_valuation.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Complete Discrete Valuation Rings (CDVR) and Fields (CDVF) """ diff --git a/src/sage/categories/complex_reflection_groups.py b/src/sage/categories/complex_reflection_groups.py index d9d30d41e40..d94d928216d 100644 --- a/src/sage/categories/complex_reflection_groups.py +++ b/src/sage/categories/complex_reflection_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Complex reflection groups """ diff --git a/src/sage/categories/complex_reflection_or_generalized_coxeter_groups.py b/src/sage/categories/complex_reflection_or_generalized_coxeter_groups.py index ca2f1e09235..b3ccdbc7195 100644 --- a/src/sage/categories/complex_reflection_or_generalized_coxeter_groups.py +++ b/src/sage/categories/complex_reflection_or_generalized_coxeter_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.groups r""" Common category for Generalized Coxeter Groups or Complex Reflection Groups diff --git a/src/sage/categories/covariant_functorial_construction.py b/src/sage/categories/covariant_functorial_construction.py index c38fe295dbf..039b31b736e 100644 --- a/src/sage/categories/covariant_functorial_construction.py +++ b/src/sage/categories/covariant_functorial_construction.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Covariant Functorial Constructions diff --git a/src/sage/categories/coxeter_group_algebras.py b/src/sage/categories/coxeter_group_algebras.py index 5cececc3fef..97ae4942578 100644 --- a/src/sage/categories/coxeter_group_algebras.py +++ b/src/sage/categories/coxeter_group_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat sage.groups r""" Coxeter Group Algebras diff --git a/src/sage/categories/coxeter_groups.py b/src/sage/categories/coxeter_groups.py index 7bbb286778d..d80c9aa0287 100644 --- a/src/sage/categories/coxeter_groups.py +++ b/src/sage/categories/coxeter_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Coxeter Groups """ diff --git a/src/sage/categories/crystals.py b/src/sage/categories/crystals.py index 5bf8f46d201..138b77bd3b4 100644 --- a/src/sage/categories/crystals.py +++ b/src/sage/categories/crystals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.graphs sage.combinat r""" Crystals diff --git a/src/sage/categories/cw_complexes.py b/src/sage/categories/cw_complexes.py index 69faafeeb83..c0c4e178da9 100644 --- a/src/sage/categories/cw_complexes.py +++ b/src/sage/categories/cw_complexes.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" CW Complexes """ diff --git a/src/sage/categories/dedekind_domains.py b/src/sage/categories/dedekind_domains.py index d02c4bb996e..ae4a198423b 100644 --- a/src/sage/categories/dedekind_domains.py +++ b/src/sage/categories/dedekind_domains.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Dedekind Domains """ diff --git a/src/sage/categories/discrete_valuation.py b/src/sage/categories/discrete_valuation.py index 24b15bca488..830c148c95b 100644 --- a/src/sage/categories/discrete_valuation.py +++ b/src/sage/categories/discrete_valuation.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Discrete Valuation Rings (DVR) and Fields (DVF) """ diff --git a/src/sage/categories/distributive_magmas_and_additive_magmas.py b/src/sage/categories/distributive_magmas_and_additive_magmas.py index 6d1c7511c11..830c6c77c8c 100644 --- a/src/sage/categories/distributive_magmas_and_additive_magmas.py +++ b/src/sage/categories/distributive_magmas_and_additive_magmas.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Distributive Magmas and Additive Magmas """ diff --git a/src/sage/categories/division_rings.py b/src/sage/categories/division_rings.py index cd26f46acae..ff6cee76ed6 100644 --- a/src/sage/categories/division_rings.py +++ b/src/sage/categories/division_rings.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Division rings """ diff --git a/src/sage/categories/domains.py b/src/sage/categories/domains.py index 18e2907b8ef..4902bb89897 100644 --- a/src/sage/categories/domains.py +++ b/src/sage/categories/domains.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Domains """ diff --git a/src/sage/categories/drinfeld_modules.py b/src/sage/categories/drinfeld_modules.py index 4a19a91e4cc..c2ba86e9f2f 100644 --- a/src/sage/categories/drinfeld_modules.py +++ b/src/sage/categories/drinfeld_modules.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.rings.finite_rings r""" Drinfeld modules over a base diff --git a/src/sage/categories/dual.py b/src/sage/categories/dual.py index 2b21f81cbda..60503a8e83a 100644 --- a/src/sage/categories/dual.py +++ b/src/sage/categories/dual.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Dual functorial construction diff --git a/src/sage/categories/enumerated_sets.py b/src/sage/categories/enumerated_sets.py index 513ef129c8a..5526bdb0235 100644 --- a/src/sage/categories/enumerated_sets.py +++ b/src/sage/categories/enumerated_sets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Enumerated sets """ diff --git a/src/sage/categories/euclidean_domains.py b/src/sage/categories/euclidean_domains.py index eb02736f6e1..8ba23dcb876 100644 --- a/src/sage/categories/euclidean_domains.py +++ b/src/sage/categories/euclidean_domains.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Euclidean domains diff --git a/src/sage/categories/examples/algebras_with_basis.py b/src/sage/categories/examples/algebras_with_basis.py index e19d74ff3c9..1540bb50c6d 100644 --- a/src/sage/categories/examples/algebras_with_basis.py +++ b/src/sage/categories/examples/algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat r""" Examples of algebras with basis diff --git a/src/sage/categories/examples/all.py b/src/sage/categories/examples/all.py index e69de29bb2d..b230a6a2ad9 100644 --- a/src/sage/categories/examples/all.py +++ b/src/sage/categories/examples/all.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-categories diff --git a/src/sage/categories/examples/commutative_additive_monoids.py b/src/sage/categories/examples/commutative_additive_monoids.py index 20728722d9f..c805471fa52 100644 --- a/src/sage/categories/examples/commutative_additive_monoids.py +++ b/src/sage/categories/examples/commutative_additive_monoids.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Examples of commutative additive monoids """ diff --git a/src/sage/categories/examples/commutative_additive_semigroups.py b/src/sage/categories/examples/commutative_additive_semigroups.py index 0b3cb314e74..f30288675fe 100644 --- a/src/sage/categories/examples/commutative_additive_semigroups.py +++ b/src/sage/categories/examples/commutative_additive_semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Examples of commutative additive semigroups """ diff --git a/src/sage/categories/examples/coxeter_groups.py b/src/sage/categories/examples/coxeter_groups.py index ac76a708bec..f2791ac09ca 100644 --- a/src/sage/categories/examples/coxeter_groups.py +++ b/src/sage/categories/examples/coxeter_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Examples of Coxeter groups """ diff --git a/src/sage/categories/examples/crystals.py b/src/sage/categories/examples/crystals.py index 520b97c34d5..4786a4ed6fd 100644 --- a/src/sage/categories/examples/crystals.py +++ b/src/sage/categories/examples/crystals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat sage.graphs r""" Example of a crystal diff --git a/src/sage/categories/examples/cw_complexes.py b/src/sage/categories/examples/cw_complexes.py index 0fefb254c20..89262cd6b43 100644 --- a/src/sage/categories/examples/cw_complexes.py +++ b/src/sage/categories/examples/cw_complexes.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Examples of CW complexes """ diff --git a/src/sage/categories/examples/facade_sets.py b/src/sage/categories/examples/facade_sets.py index bff442e2c5c..f088ca106c6 100644 --- a/src/sage/categories/examples/facade_sets.py +++ b/src/sage/categories/examples/facade_sets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Example of facade set """ diff --git a/src/sage/categories/examples/filtered_algebras_with_basis.py b/src/sage/categories/examples/filtered_algebras_with_basis.py index 57d106e4555..fd3e6b67968 100644 --- a/src/sage/categories/examples/filtered_algebras_with_basis.py +++ b/src/sage/categories/examples/filtered_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Examples of filtered algebra with basis """ diff --git a/src/sage/categories/examples/filtered_modules_with_basis.py b/src/sage/categories/examples/filtered_modules_with_basis.py index a76726099bc..d62c3d906ff 100644 --- a/src/sage/categories/examples/filtered_modules_with_basis.py +++ b/src/sage/categories/examples/filtered_modules_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat r""" Examples of filtered modules with basis diff --git a/src/sage/categories/examples/finite_coxeter_groups.py b/src/sage/categories/examples/finite_coxeter_groups.py index 84e4c1f95b4..9abf9304929 100644 --- a/src/sage/categories/examples/finite_coxeter_groups.py +++ b/src/sage/categories/examples/finite_coxeter_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat sage.groups r""" Examples of finite Coxeter groups diff --git a/src/sage/categories/examples/finite_dimensional_algebras_with_basis.py b/src/sage/categories/examples/finite_dimensional_algebras_with_basis.py index df8957dbaf7..9fb25719a25 100644 --- a/src/sage/categories/examples/finite_dimensional_algebras_with_basis.py +++ b/src/sage/categories/examples/finite_dimensional_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.modules r""" Example of a finite dimensional algebra with basis diff --git a/src/sage/categories/examples/finite_dimensional_lie_algebras_with_basis.py b/src/sage/categories/examples/finite_dimensional_lie_algebras_with_basis.py index 452cf12aa1e..bb219b1c47c 100644 --- a/src/sage/categories/examples/finite_dimensional_lie_algebras_with_basis.py +++ b/src/sage/categories/examples/finite_dimensional_lie_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.modules r""" Examples of a finite dimensional Lie algebra with basis diff --git a/src/sage/categories/examples/finite_enumerated_sets.py b/src/sage/categories/examples/finite_enumerated_sets.py index 6a606f7b9e3..264b9bc13ba 100644 --- a/src/sage/categories/examples/finite_enumerated_sets.py +++ b/src/sage/categories/examples/finite_enumerated_sets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Examples of finite enumerated sets """ diff --git a/src/sage/categories/examples/finite_monoids.py b/src/sage/categories/examples/finite_monoids.py index 0a4c1374893..20119abac66 100644 --- a/src/sage/categories/examples/finite_monoids.py +++ b/src/sage/categories/examples/finite_monoids.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Examples of finite monoids """ diff --git a/src/sage/categories/examples/finite_semigroups.py b/src/sage/categories/examples/finite_semigroups.py index 13712de76fe..d019e6895e4 100644 --- a/src/sage/categories/examples/finite_semigroups.py +++ b/src/sage/categories/examples/finite_semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Examples of finite semigroups """ diff --git a/src/sage/categories/examples/finite_weyl_groups.py b/src/sage/categories/examples/finite_weyl_groups.py index 10fef899c94..b3321bdb58b 100644 --- a/src/sage/categories/examples/finite_weyl_groups.py +++ b/src/sage/categories/examples/finite_weyl_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Examples of finite Weyl groups """ diff --git a/src/sage/categories/examples/graded_connected_hopf_algebras_with_basis.py b/src/sage/categories/examples/graded_connected_hopf_algebras_with_basis.py index 2290419adb3..28699e17256 100644 --- a/src/sage/categories/examples/graded_connected_hopf_algebras_with_basis.py +++ b/src/sage/categories/examples/graded_connected_hopf_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.modules r""" Examples of graded connected Hopf algebras with basis diff --git a/src/sage/categories/examples/graded_modules_with_basis.py b/src/sage/categories/examples/graded_modules_with_basis.py index 8ddfb7eed04..348bc5b9568 100644 --- a/src/sage/categories/examples/graded_modules_with_basis.py +++ b/src/sage/categories/examples/graded_modules_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat r""" Examples of graded modules with basis diff --git a/src/sage/categories/examples/graphs.py b/src/sage/categories/examples/graphs.py index 063eeff1427..f67427d311b 100644 --- a/src/sage/categories/examples/graphs.py +++ b/src/sage/categories/examples/graphs.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Examples of graphs """ diff --git a/src/sage/categories/examples/hopf_algebras_with_basis.py b/src/sage/categories/examples/hopf_algebras_with_basis.py index 7f05827c28a..ea876abcbcf 100644 --- a/src/sage/categories/examples/hopf_algebras_with_basis.py +++ b/src/sage/categories/examples/hopf_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.groups sage.modules r""" Examples of Hopf algebras with basis diff --git a/src/sage/categories/examples/infinite_enumerated_sets.py b/src/sage/categories/examples/infinite_enumerated_sets.py index df4151f21c2..8f23d276988 100644 --- a/src/sage/categories/examples/infinite_enumerated_sets.py +++ b/src/sage/categories/examples/infinite_enumerated_sets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Examples of infinite enumerated sets """ diff --git a/src/sage/categories/examples/lie_algebras.py b/src/sage/categories/examples/lie_algebras.py index 15ace1987db..95c63627310 100644 --- a/src/sage/categories/examples/lie_algebras.py +++ b/src/sage/categories/examples/lie_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.modules r""" Examples of a Lie algebra diff --git a/src/sage/categories/examples/lie_algebras_with_basis.py b/src/sage/categories/examples/lie_algebras_with_basis.py index ca711e1cdb4..8366503691a 100644 --- a/src/sage/categories/examples/lie_algebras_with_basis.py +++ b/src/sage/categories/examples/lie_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat sage.modules r""" Examples of a Lie algebra with basis diff --git a/src/sage/categories/examples/magmas.py b/src/sage/categories/examples/magmas.py index a4858bc2606..538929c70a0 100644 --- a/src/sage/categories/examples/magmas.py +++ b/src/sage/categories/examples/magmas.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Examples of magmas """ diff --git a/src/sage/categories/examples/manifolds.py b/src/sage/categories/examples/manifolds.py index 6a748884eec..ce433618dc2 100644 --- a/src/sage/categories/examples/manifolds.py +++ b/src/sage/categories/examples/manifolds.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Examples of manifolds """ diff --git a/src/sage/categories/examples/monoids.py b/src/sage/categories/examples/monoids.py index 1d2b87279d2..fe0646eab6c 100644 --- a/src/sage/categories/examples/monoids.py +++ b/src/sage/categories/examples/monoids.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Examples of monoids """ diff --git a/src/sage/categories/examples/posets.py b/src/sage/categories/examples/posets.py index 20f461860c9..6cd523ceb96 100644 --- a/src/sage/categories/examples/posets.py +++ b/src/sage/categories/examples/posets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Examples of posets """ diff --git a/src/sage/categories/examples/semigroups.py b/src/sage/categories/examples/semigroups.py index 797fd1b4b03..7e45dd8434e 100644 --- a/src/sage/categories/examples/semigroups.py +++ b/src/sage/categories/examples/semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Examples of semigroups """ diff --git a/src/sage/categories/examples/semigroups_cython.pyx b/src/sage/categories/examples/semigroups_cython.pyx index b456c2868f8..4f7a6990586 100644 --- a/src/sage/categories/examples/semigroups_cython.pyx +++ b/src/sage/categories/examples/semigroups_cython.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Examples of semigroups in cython """ diff --git a/src/sage/categories/examples/sets_cat.py b/src/sage/categories/examples/sets_cat.py index fbadb9ca405..2c91d652726 100644 --- a/src/sage/categories/examples/sets_cat.py +++ b/src/sage/categories/examples/sets_cat.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.libs.pari """ Examples of sets diff --git a/src/sage/categories/examples/sets_with_grading.py b/src/sage/categories/examples/sets_with_grading.py index 9968d83942b..487c5100578 100644 --- a/src/sage/categories/examples/sets_with_grading.py +++ b/src/sage/categories/examples/sets_with_grading.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Example of a set with grading """ diff --git a/src/sage/categories/examples/with_realizations.py b/src/sage/categories/examples/with_realizations.py index 85b4b86daa0..2ff92851892 100644 --- a/src/sage/categories/examples/with_realizations.py +++ b/src/sage/categories/examples/with_realizations.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat sage.modules r""" Examples of parents endowed with multiple realizations diff --git a/src/sage/categories/facade_sets.py b/src/sage/categories/facade_sets.py index 3f7fcf98abb..4719c9b9ec3 100644 --- a/src/sage/categories/facade_sets.py +++ b/src/sage/categories/facade_sets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Facade Sets diff --git a/src/sage/categories/fields.py b/src/sage/categories/fields.py index c09e4bc50e6..a7474d07602 100644 --- a/src/sage/categories/fields.py +++ b/src/sage/categories/fields.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Fields """ diff --git a/src/sage/categories/filtered_algebras.py b/src/sage/categories/filtered_algebras.py index d0db31a98eb..bb16bc0374b 100644 --- a/src/sage/categories/filtered_algebras.py +++ b/src/sage/categories/filtered_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Filtered Algebras """ diff --git a/src/sage/categories/filtered_algebras_with_basis.py b/src/sage/categories/filtered_algebras_with_basis.py index 1abddc81a18..dd8074ab474 100644 --- a/src/sage/categories/filtered_algebras_with_basis.py +++ b/src/sage/categories/filtered_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Filtered Algebras With Basis diff --git a/src/sage/categories/filtered_hopf_algebras_with_basis.py b/src/sage/categories/filtered_hopf_algebras_with_basis.py index dadd10dd70e..5efd48c6f02 100644 --- a/src/sage/categories/filtered_hopf_algebras_with_basis.py +++ b/src/sage/categories/filtered_hopf_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Filtered Hopf algebras with basis """ diff --git a/src/sage/categories/filtered_modules.py b/src/sage/categories/filtered_modules.py index 780ef974956..e6ad7e0d918 100644 --- a/src/sage/categories/filtered_modules.py +++ b/src/sage/categories/filtered_modules.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Filtered Modules diff --git a/src/sage/categories/filtered_modules_with_basis.py b/src/sage/categories/filtered_modules_with_basis.py index 2705c2c3d55..4da72b5b762 100644 --- a/src/sage/categories/filtered_modules_with_basis.py +++ b/src/sage/categories/filtered_modules_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Filtered Modules With Basis diff --git a/src/sage/categories/finite_complex_reflection_groups.py b/src/sage/categories/finite_complex_reflection_groups.py index 2fdc9912f89..f77ca9058a7 100644 --- a/src/sage/categories/finite_complex_reflection_groups.py +++ b/src/sage/categories/finite_complex_reflection_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite Complex Reflection Groups """ diff --git a/src/sage/categories/finite_coxeter_groups.py b/src/sage/categories/finite_coxeter_groups.py index afc4ca43a40..ceadffa942a 100644 --- a/src/sage/categories/finite_coxeter_groups.py +++ b/src/sage/categories/finite_coxeter_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat sage.groups r""" Finite Coxeter Groups diff --git a/src/sage/categories/finite_crystals.py b/src/sage/categories/finite_crystals.py index 4d5fdda550d..b934c692375 100644 --- a/src/sage/categories/finite_crystals.py +++ b/src/sage/categories/finite_crystals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat sage.graphs r""" Finite Crystals diff --git a/src/sage/categories/finite_dimensional_algebras_with_basis.py b/src/sage/categories/finite_dimensional_algebras_with_basis.py index e1df9318ec3..58516af5b96 100644 --- a/src/sage/categories/finite_dimensional_algebras_with_basis.py +++ b/src/sage/categories/finite_dimensional_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite dimensional algebras with basis diff --git a/src/sage/categories/finite_dimensional_bialgebras_with_basis.py b/src/sage/categories/finite_dimensional_bialgebras_with_basis.py index 02f1005e0de..54a7479fd0b 100644 --- a/src/sage/categories/finite_dimensional_bialgebras_with_basis.py +++ b/src/sage/categories/finite_dimensional_bialgebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite dimensional bialgebras with basis """ diff --git a/src/sage/categories/finite_dimensional_coalgebras_with_basis.py b/src/sage/categories/finite_dimensional_coalgebras_with_basis.py index 60b135080da..69cede64fd1 100644 --- a/src/sage/categories/finite_dimensional_coalgebras_with_basis.py +++ b/src/sage/categories/finite_dimensional_coalgebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite dimensional coalgebras with basis """ diff --git a/src/sage/categories/finite_dimensional_graded_lie_algebras_with_basis.py b/src/sage/categories/finite_dimensional_graded_lie_algebras_with_basis.py index bb0cb5db92d..6eb17b4ad0a 100644 --- a/src/sage/categories/finite_dimensional_graded_lie_algebras_with_basis.py +++ b/src/sage/categories/finite_dimensional_graded_lie_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite Dimensional Graded Lie Algebras With Basis diff --git a/src/sage/categories/finite_dimensional_hopf_algebras_with_basis.py b/src/sage/categories/finite_dimensional_hopf_algebras_with_basis.py index da3f1365584..f90e1dfd1c7 100644 --- a/src/sage/categories/finite_dimensional_hopf_algebras_with_basis.py +++ b/src/sage/categories/finite_dimensional_hopf_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite dimensional Hopf algebras with basis """ diff --git a/src/sage/categories/finite_dimensional_lie_algebras_with_basis.py b/src/sage/categories/finite_dimensional_lie_algebras_with_basis.py index 4477401a909..9649a0928cc 100644 --- a/src/sage/categories/finite_dimensional_lie_algebras_with_basis.py +++ b/src/sage/categories/finite_dimensional_lie_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite Dimensional Lie Algebras With Basis diff --git a/src/sage/categories/finite_dimensional_modules_with_basis.py b/src/sage/categories/finite_dimensional_modules_with_basis.py index 58916af2aaf..46fce1136fc 100644 --- a/src/sage/categories/finite_dimensional_modules_with_basis.py +++ b/src/sage/categories/finite_dimensional_modules_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite dimensional modules with basis """ diff --git a/src/sage/categories/finite_dimensional_nilpotent_lie_algebras_with_basis.py b/src/sage/categories/finite_dimensional_nilpotent_lie_algebras_with_basis.py index 78d801a5ef4..ae3a38d9dda 100644 --- a/src/sage/categories/finite_dimensional_nilpotent_lie_algebras_with_basis.py +++ b/src/sage/categories/finite_dimensional_nilpotent_lie_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite Dimensional Nilpotent Lie Algebras With Basis diff --git a/src/sage/categories/finite_dimensional_semisimple_algebras_with_basis.py b/src/sage/categories/finite_dimensional_semisimple_algebras_with_basis.py index da4b297ddde..2cbcc8aac61 100644 --- a/src/sage/categories/finite_dimensional_semisimple_algebras_with_basis.py +++ b/src/sage/categories/finite_dimensional_semisimple_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite dimensional semisimple algebras with basis """ diff --git a/src/sage/categories/finite_enumerated_sets.py b/src/sage/categories/finite_enumerated_sets.py index 38958d8d024..b3b9ede2deb 100644 --- a/src/sage/categories/finite_enumerated_sets.py +++ b/src/sage/categories/finite_enumerated_sets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite Enumerated Sets """ diff --git a/src/sage/categories/finite_fields.py b/src/sage/categories/finite_fields.py index d9333c80707..6219c8dc357 100644 --- a/src/sage/categories/finite_fields.py +++ b/src/sage/categories/finite_fields.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite fields """ diff --git a/src/sage/categories/finite_groups.py b/src/sage/categories/finite_groups.py index 70cc029e389..a88a56e96cf 100644 --- a/src/sage/categories/finite_groups.py +++ b/src/sage/categories/finite_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.groups r""" Finite groups diff --git a/src/sage/categories/finite_lattice_posets.py b/src/sage/categories/finite_lattice_posets.py index 96f2385404c..773d8c4914d 100644 --- a/src/sage/categories/finite_lattice_posets.py +++ b/src/sage/categories/finite_lattice_posets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite lattice posets """ diff --git a/src/sage/categories/finite_monoids.py b/src/sage/categories/finite_monoids.py index b446dc925cb..9b26acb459c 100644 --- a/src/sage/categories/finite_monoids.py +++ b/src/sage/categories/finite_monoids.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite monoids """ diff --git a/src/sage/categories/finite_permutation_groups.py b/src/sage/categories/finite_permutation_groups.py index a8c008ac170..dcc4bfa66db 100644 --- a/src/sage/categories/finite_permutation_groups.py +++ b/src/sage/categories/finite_permutation_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.groups r""" Finite Permutation Groups diff --git a/src/sage/categories/finite_posets.py b/src/sage/categories/finite_posets.py index 68317bbb4c3..c1f9a4e6f76 100644 --- a/src/sage/categories/finite_posets.py +++ b/src/sage/categories/finite_posets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat sage.graphs r""" Finite posets diff --git a/src/sage/categories/finite_semigroups.py b/src/sage/categories/finite_semigroups.py index ad384fc2b79..b699e33c9ab 100644 --- a/src/sage/categories/finite_semigroups.py +++ b/src/sage/categories/finite_semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite semigroups """ diff --git a/src/sage/categories/finite_sets.py b/src/sage/categories/finite_sets.py index 494ec2cdc6c..0f464e2cb9c 100644 --- a/src/sage/categories/finite_sets.py +++ b/src/sage/categories/finite_sets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite sets """ diff --git a/src/sage/categories/finite_weyl_groups.py b/src/sage/categories/finite_weyl_groups.py index 8e0346eb5ab..3e790d78965 100644 --- a/src/sage/categories/finite_weyl_groups.py +++ b/src/sage/categories/finite_weyl_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finite Weyl Groups """ diff --git a/src/sage/categories/finitely_generated_lambda_bracket_algebras.py b/src/sage/categories/finitely_generated_lambda_bracket_algebras.py index 5ff1634ca43..ac1e775b90a 100644 --- a/src/sage/categories/finitely_generated_lambda_bracket_algebras.py +++ b/src/sage/categories/finitely_generated_lambda_bracket_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Finitely Generated Lambda bracket Algebras diff --git a/src/sage/categories/finitely_generated_lie_conformal_algebras.py b/src/sage/categories/finitely_generated_lie_conformal_algebras.py index 90b18df668f..11066c7d160 100644 --- a/src/sage/categories/finitely_generated_lie_conformal_algebras.py +++ b/src/sage/categories/finitely_generated_lie_conformal_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Finitely Generated Lie Conformal Algebras diff --git a/src/sage/categories/finitely_generated_magmas.py b/src/sage/categories/finitely_generated_magmas.py index fe845e8b92a..d89f2477045 100644 --- a/src/sage/categories/finitely_generated_magmas.py +++ b/src/sage/categories/finitely_generated_magmas.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finitely generated magmas """ diff --git a/src/sage/categories/finitely_generated_semigroups.py b/src/sage/categories/finitely_generated_semigroups.py index 369e6375a16..b3e2a46f3a4 100644 --- a/src/sage/categories/finitely_generated_semigroups.py +++ b/src/sage/categories/finitely_generated_semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Finitely generated semigroups """ diff --git a/src/sage/categories/function_fields.py b/src/sage/categories/function_fields.py index 6c949b6197a..02ba3021741 100644 --- a/src/sage/categories/function_fields.py +++ b/src/sage/categories/function_fields.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Function fields """ diff --git a/src/sage/categories/functor.pxd b/src/sage/categories/functor.pxd index 22eec36f7ad..76fa0fe1c6e 100644 --- a/src/sage/categories/functor.pxd +++ b/src/sage/categories/functor.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.structure.sage_object cimport SageObject cdef class Functor(SageObject): diff --git a/src/sage/categories/functor.pyx b/src/sage/categories/functor.pyx index 34678169ac5..5ad1e1694af 100644 --- a/src/sage/categories/functor.pyx +++ b/src/sage/categories/functor.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Functors diff --git a/src/sage/categories/g_sets.py b/src/sage/categories/g_sets.py index 5967fcf7d5f..d49f790a9e0 100644 --- a/src/sage/categories/g_sets.py +++ b/src/sage/categories/g_sets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" G-Sets """ diff --git a/src/sage/categories/gcd_domains.py b/src/sage/categories/gcd_domains.py index e946db6fa29..6ffb6456625 100644 --- a/src/sage/categories/gcd_domains.py +++ b/src/sage/categories/gcd_domains.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Gcd domains """ diff --git a/src/sage/categories/generalized_coxeter_groups.py b/src/sage/categories/generalized_coxeter_groups.py index 844472ba6be..5e0641ed37e 100644 --- a/src/sage/categories/generalized_coxeter_groups.py +++ b/src/sage/categories/generalized_coxeter_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Generalized Coxeter Groups """ diff --git a/src/sage/categories/graded_algebras.py b/src/sage/categories/graded_algebras.py index 190355b59c5..dc48ad19d54 100644 --- a/src/sage/categories/graded_algebras.py +++ b/src/sage/categories/graded_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Graded Algebras """ diff --git a/src/sage/categories/graded_algebras_with_basis.py b/src/sage/categories/graded_algebras_with_basis.py index 62d4816b208..9b44bc9567b 100644 --- a/src/sage/categories/graded_algebras_with_basis.py +++ b/src/sage/categories/graded_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Graded algebras with basis """ diff --git a/src/sage/categories/graded_bialgebras.py b/src/sage/categories/graded_bialgebras.py index eff325b320e..ceb0c7fe26e 100644 --- a/src/sage/categories/graded_bialgebras.py +++ b/src/sage/categories/graded_bialgebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Graded bialgebras """ diff --git a/src/sage/categories/graded_bialgebras_with_basis.py b/src/sage/categories/graded_bialgebras_with_basis.py index d1727c0f40c..f97855196e7 100644 --- a/src/sage/categories/graded_bialgebras_with_basis.py +++ b/src/sage/categories/graded_bialgebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Graded bialgebras with basis """ diff --git a/src/sage/categories/graded_coalgebras.py b/src/sage/categories/graded_coalgebras.py index 1b3a3c1d154..12d07b0f679 100644 --- a/src/sage/categories/graded_coalgebras.py +++ b/src/sage/categories/graded_coalgebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Graded Coalgebras """ diff --git a/src/sage/categories/graded_coalgebras_with_basis.py b/src/sage/categories/graded_coalgebras_with_basis.py index 9efb1854780..bb4a44c676b 100644 --- a/src/sage/categories/graded_coalgebras_with_basis.py +++ b/src/sage/categories/graded_coalgebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Graded coalgebras with basis """ diff --git a/src/sage/categories/graded_hopf_algebras.py b/src/sage/categories/graded_hopf_algebras.py index 60d5befd6f5..97daf47ebfc 100644 --- a/src/sage/categories/graded_hopf_algebras.py +++ b/src/sage/categories/graded_hopf_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Graded Hopf algebras """ diff --git a/src/sage/categories/graded_hopf_algebras_with_basis.py b/src/sage/categories/graded_hopf_algebras_with_basis.py index 60cf4977eae..3c0458c0e03 100644 --- a/src/sage/categories/graded_hopf_algebras_with_basis.py +++ b/src/sage/categories/graded_hopf_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Graded Hopf algebras with basis """ diff --git a/src/sage/categories/graded_lie_algebras.py b/src/sage/categories/graded_lie_algebras.py index fac1436c428..ee8ab5df338 100644 --- a/src/sage/categories/graded_lie_algebras.py +++ b/src/sage/categories/graded_lie_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Graded Lie Algebras diff --git a/src/sage/categories/graded_lie_algebras_with_basis.py b/src/sage/categories/graded_lie_algebras_with_basis.py index 8552218e074..ddf5d8616a2 100644 --- a/src/sage/categories/graded_lie_algebras_with_basis.py +++ b/src/sage/categories/graded_lie_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Graded Lie Algebras With Basis """ diff --git a/src/sage/categories/graded_lie_conformal_algebras.py b/src/sage/categories/graded_lie_conformal_algebras.py index a17c067ae4e..75924494963 100644 --- a/src/sage/categories/graded_lie_conformal_algebras.py +++ b/src/sage/categories/graded_lie_conformal_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Graded Lie Conformal Algebras diff --git a/src/sage/categories/graded_modules.py b/src/sage/categories/graded_modules.py index ff66b885913..b24f210ad31 100644 --- a/src/sage/categories/graded_modules.py +++ b/src/sage/categories/graded_modules.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Graded modules """ diff --git a/src/sage/categories/graded_modules_with_basis.py b/src/sage/categories/graded_modules_with_basis.py index adb16235761..057f1e793f5 100644 --- a/src/sage/categories/graded_modules_with_basis.py +++ b/src/sage/categories/graded_modules_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Graded modules with basis """ diff --git a/src/sage/categories/graphs.py b/src/sage/categories/graphs.py index 7142081516e..572156be286 100644 --- a/src/sage/categories/graphs.py +++ b/src/sage/categories/graphs.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Graphs """ diff --git a/src/sage/categories/group_algebras.py b/src/sage/categories/group_algebras.py index 6732a49b150..89e2e142d00 100644 --- a/src/sage/categories/group_algebras.py +++ b/src/sage/categories/group_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Group Algebras diff --git a/src/sage/categories/groupoid.py b/src/sage/categories/groupoid.py index 95af5df164c..0f67bd47608 100644 --- a/src/sage/categories/groupoid.py +++ b/src/sage/categories/groupoid.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.groups r""" Groupoid diff --git a/src/sage/categories/groups.py b/src/sage/categories/groups.py index 54c23ae3176..332185e5b7a 100644 --- a/src/sage/categories/groups.py +++ b/src/sage/categories/groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Groups """ diff --git a/src/sage/categories/h_trivial_semigroups.py b/src/sage/categories/h_trivial_semigroups.py index 5630068d671..9b1f0ab57b0 100644 --- a/src/sage/categories/h_trivial_semigroups.py +++ b/src/sage/categories/h_trivial_semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" H-trivial semigroups """ diff --git a/src/sage/categories/hecke_modules.py b/src/sage/categories/hecke_modules.py index 6a575fd17d6..ba767c3b74c 100644 --- a/src/sage/categories/hecke_modules.py +++ b/src/sage/categories/hecke_modules.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Hecke modules """ diff --git a/src/sage/categories/highest_weight_crystals.py b/src/sage/categories/highest_weight_crystals.py index 32cbf77c87a..8a4afe675d1 100644 --- a/src/sage/categories/highest_weight_crystals.py +++ b/src/sage/categories/highest_weight_crystals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat sage.graphs r""" Highest Weight Crystals diff --git a/src/sage/categories/homset.py b/src/sage/categories/homset.py index e763a022d4c..69b489ed2ed 100644 --- a/src/sage/categories/homset.py +++ b/src/sage/categories/homset.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Homsets diff --git a/src/sage/categories/homsets.py b/src/sage/categories/homsets.py index b915dbb12fe..bdf8c482cc0 100644 --- a/src/sage/categories/homsets.py +++ b/src/sage/categories/homsets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Homset categories """ diff --git a/src/sage/categories/hopf_algebras.py b/src/sage/categories/hopf_algebras.py index 49091b3de60..acc85774aff 100644 --- a/src/sage/categories/hopf_algebras.py +++ b/src/sage/categories/hopf_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Hopf algebras """ diff --git a/src/sage/categories/hopf_algebras_with_basis.py b/src/sage/categories/hopf_algebras_with_basis.py index d56adc36eb1..f4bbb6af51d 100644 --- a/src/sage/categories/hopf_algebras_with_basis.py +++ b/src/sage/categories/hopf_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Hopf algebras with basis """ diff --git a/src/sage/categories/infinite_enumerated_sets.py b/src/sage/categories/infinite_enumerated_sets.py index e65bf944b87..c5f5df3ffd9 100644 --- a/src/sage/categories/infinite_enumerated_sets.py +++ b/src/sage/categories/infinite_enumerated_sets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Infinite Enumerated Sets diff --git a/src/sage/categories/integral_domains.py b/src/sage/categories/integral_domains.py index d29b2b159f0..a0577a194b0 100644 --- a/src/sage/categories/integral_domains.py +++ b/src/sage/categories/integral_domains.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Integral domains """ diff --git a/src/sage/categories/isomorphic_objects.py b/src/sage/categories/isomorphic_objects.py index f1473997c14..658402aea09 100644 --- a/src/sage/categories/isomorphic_objects.py +++ b/src/sage/categories/isomorphic_objects.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Isomorphic Objects Functorial Construction diff --git a/src/sage/categories/j_trivial_semigroups.py b/src/sage/categories/j_trivial_semigroups.py index 8ca78c83a1e..c09e1cea144 100644 --- a/src/sage/categories/j_trivial_semigroups.py +++ b/src/sage/categories/j_trivial_semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" J-trivial semigroups """ diff --git a/src/sage/categories/kac_moody_algebras.py b/src/sage/categories/kac_moody_algebras.py index 52f738243b8..ed2ba241bdf 100644 --- a/src/sage/categories/kac_moody_algebras.py +++ b/src/sage/categories/kac_moody_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Kac-Moody Algebras diff --git a/src/sage/categories/l_trivial_semigroups.py b/src/sage/categories/l_trivial_semigroups.py index ef4a8c41016..478003e0e48 100644 --- a/src/sage/categories/l_trivial_semigroups.py +++ b/src/sage/categories/l_trivial_semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" L-trivial semigroups """ diff --git a/src/sage/categories/lambda_bracket_algebras.py b/src/sage/categories/lambda_bracket_algebras.py index 56818bf4d04..9c93d417489 100644 --- a/src/sage/categories/lambda_bracket_algebras.py +++ b/src/sage/categories/lambda_bracket_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Lambda Bracket Algebras diff --git a/src/sage/categories/lambda_bracket_algebras_with_basis.py b/src/sage/categories/lambda_bracket_algebras_with_basis.py index 62fe41f3336..c79d1cc8c8a 100644 --- a/src/sage/categories/lambda_bracket_algebras_with_basis.py +++ b/src/sage/categories/lambda_bracket_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Lambda Bracket Algebras With Basis diff --git a/src/sage/categories/lattice_posets.py b/src/sage/categories/lattice_posets.py index f14fa364415..29b1738c6ac 100644 --- a/src/sage/categories/lattice_posets.py +++ b/src/sage/categories/lattice_posets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Lattice posets """ diff --git a/src/sage/categories/left_modules.py b/src/sage/categories/left_modules.py index 51de3497a53..a6394582d4d 100644 --- a/src/sage/categories/left_modules.py +++ b/src/sage/categories/left_modules.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Left modules """ diff --git a/src/sage/categories/lie_algebras.py b/src/sage/categories/lie_algebras.py index d0958f12d89..c0b80226c9a 100644 --- a/src/sage/categories/lie_algebras.py +++ b/src/sage/categories/lie_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Lie Algebras diff --git a/src/sage/categories/lie_algebras_with_basis.py b/src/sage/categories/lie_algebras_with_basis.py index 67570b611b3..7cdf3fd7bca 100644 --- a/src/sage/categories/lie_algebras_with_basis.py +++ b/src/sage/categories/lie_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Lie Algebras With Basis diff --git a/src/sage/categories/lie_conformal_algebras.py b/src/sage/categories/lie_conformal_algebras.py index d1e77c3c56b..561d9e1e693 100644 --- a/src/sage/categories/lie_conformal_algebras.py +++ b/src/sage/categories/lie_conformal_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Lie Conformal Algebras diff --git a/src/sage/categories/lie_conformal_algebras_with_basis.py b/src/sage/categories/lie_conformal_algebras_with_basis.py index bedf8934fc4..d0bac7f4087 100644 --- a/src/sage/categories/lie_conformal_algebras_with_basis.py +++ b/src/sage/categories/lie_conformal_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Lie Conformal Algebras With Basis diff --git a/src/sage/categories/lie_groups.py b/src/sage/categories/lie_groups.py index 2d32a158fa3..fe64f6f1a97 100644 --- a/src/sage/categories/lie_groups.py +++ b/src/sage/categories/lie_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Lie Groups """ diff --git a/src/sage/categories/loop_crystals.py b/src/sage/categories/loop_crystals.py index ad5f913cabc..76e4e1adba7 100644 --- a/src/sage/categories/loop_crystals.py +++ b/src/sage/categories/loop_crystals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.graphs sage.combinat r""" Loop Crystals diff --git a/src/sage/categories/magmas.py b/src/sage/categories/magmas.py index 247603d3d31..882cb4d1052 100644 --- a/src/sage/categories/magmas.py +++ b/src/sage/categories/magmas.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Magmas """ diff --git a/src/sage/categories/magmas_and_additive_magmas.py b/src/sage/categories/magmas_and_additive_magmas.py index 784cf625ec6..5b7796ecbfa 100644 --- a/src/sage/categories/magmas_and_additive_magmas.py +++ b/src/sage/categories/magmas_and_additive_magmas.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Magmas and Additive Magmas """ diff --git a/src/sage/categories/magmatic_algebras.py b/src/sage/categories/magmatic_algebras.py index 763f5aab764..049645af1ce 100644 --- a/src/sage/categories/magmatic_algebras.py +++ b/src/sage/categories/magmatic_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Non-unital non-associative algebras """ diff --git a/src/sage/categories/manifolds.py b/src/sage/categories/manifolds.py index f8dc1da4de0..554e7053f8c 100644 --- a/src/sage/categories/manifolds.py +++ b/src/sage/categories/manifolds.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Manifolds """ diff --git a/src/sage/categories/map.pxd b/src/sage/categories/map.pxd index 0467b872353..6f3b3bb8a91 100644 --- a/src/sage/categories/map.pxd +++ b/src/sage/categories/map.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.structure.parent cimport Parent from sage.structure.element cimport Element diff --git a/src/sage/categories/map.pyx b/src/sage/categories/map.pyx index 134b88ef1ba..5ea2a224c02 100644 --- a/src/sage/categories/map.pyx +++ b/src/sage/categories/map.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Base class for maps diff --git a/src/sage/categories/matrix_algebras.py b/src/sage/categories/matrix_algebras.py index 08b102d7451..57953f5af2e 100644 --- a/src/sage/categories/matrix_algebras.py +++ b/src/sage/categories/matrix_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Matrix algebras """ diff --git a/src/sage/categories/metric_spaces.py b/src/sage/categories/metric_spaces.py index 205e8746363..ecf43e9c361 100644 --- a/src/sage/categories/metric_spaces.py +++ b/src/sage/categories/metric_spaces.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Metric Spaces """ diff --git a/src/sage/categories/modular_abelian_varieties.py b/src/sage/categories/modular_abelian_varieties.py index 804361a7f99..4fd64663291 100644 --- a/src/sage/categories/modular_abelian_varieties.py +++ b/src/sage/categories/modular_abelian_varieties.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Modular abelian varieties """ diff --git a/src/sage/categories/modules.py b/src/sage/categories/modules.py index 952ca09fbde..43951b940e7 100644 --- a/src/sage/categories/modules.py +++ b/src/sage/categories/modules.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Modules """ diff --git a/src/sage/categories/modules_with_basis.py b/src/sage/categories/modules_with_basis.py index a93925e5a6f..7d5cfeadc90 100644 --- a/src/sage/categories/modules_with_basis.py +++ b/src/sage/categories/modules_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Modules With Basis diff --git a/src/sage/categories/monoid_algebras.py b/src/sage/categories/monoid_algebras.py index a387d7f74f4..70bf7b9f881 100644 --- a/src/sage/categories/monoid_algebras.py +++ b/src/sage/categories/monoid_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Monoid algebras """ diff --git a/src/sage/categories/monoids.py b/src/sage/categories/monoids.py index 7d763bb59b7..dad363c876b 100644 --- a/src/sage/categories/monoids.py +++ b/src/sage/categories/monoids.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Monoids """ diff --git a/src/sage/categories/morphism.pxd b/src/sage/categories/morphism.pxd index 52847fd83b7..029c5f8f493 100644 --- a/src/sage/categories/morphism.pxd +++ b/src/sage/categories/morphism.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.structure.element cimport Element from sage.categories.map cimport Map diff --git a/src/sage/categories/morphism.pyx b/src/sage/categories/morphism.pyx index 57e00943eda..21f20bebd52 100644 --- a/src/sage/categories/morphism.pyx +++ b/src/sage/categories/morphism.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Morphisms diff --git a/src/sage/categories/noetherian_rings.py b/src/sage/categories/noetherian_rings.py index bdffb796243..231d3e8192c 100644 --- a/src/sage/categories/noetherian_rings.py +++ b/src/sage/categories/noetherian_rings.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Noetherian rings diff --git a/src/sage/categories/number_fields.py b/src/sage/categories/number_fields.py index 6f9829cd499..8c6ed11d4c3 100644 --- a/src/sage/categories/number_fields.py +++ b/src/sage/categories/number_fields.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Number fields """ diff --git a/src/sage/categories/objects.py b/src/sage/categories/objects.py index 0b72e0f5d6f..742be48099f 100644 --- a/src/sage/categories/objects.py +++ b/src/sage/categories/objects.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Objects """ diff --git a/src/sage/categories/partially_ordered_monoids.py b/src/sage/categories/partially_ordered_monoids.py index 0f41b6c330f..81c9b58734b 100644 --- a/src/sage/categories/partially_ordered_monoids.py +++ b/src/sage/categories/partially_ordered_monoids.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Partially ordered monoids """ diff --git a/src/sage/categories/permutation_groups.py b/src/sage/categories/permutation_groups.py index 7e71ad4d857..59dfaaeaaf8 100644 --- a/src/sage/categories/permutation_groups.py +++ b/src/sage/categories/permutation_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Permutation groups """ diff --git a/src/sage/categories/pointed_sets.py b/src/sage/categories/pointed_sets.py index 27376140dbe..3a16a61988d 100644 --- a/src/sage/categories/pointed_sets.py +++ b/src/sage/categories/pointed_sets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Pointed sets """ diff --git a/src/sage/categories/polyhedra.py b/src/sage/categories/polyhedra.py index 256eb99498d..9b65b40bcd9 100644 --- a/src/sage/categories/polyhedra.py +++ b/src/sage/categories/polyhedra.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Polyhedral subsets of free ZZ, QQ or RR-modules. """ diff --git a/src/sage/categories/poor_man_map.py b/src/sage/categories/poor_man_map.py index 1ee3962f84f..ccbc32ecaca 100644 --- a/src/sage/categories/poor_man_map.py +++ b/src/sage/categories/poor_man_map.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Poor Man's map """ diff --git a/src/sage/categories/posets.py b/src/sage/categories/posets.py index cd08f65ad45..0d846648e6f 100644 --- a/src/sage/categories/posets.py +++ b/src/sage/categories/posets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.graphs, sage.combinat r""" Posets diff --git a/src/sage/categories/primer.py b/src/sage/categories/primer.py index aa47130b205..2a78c27aef2 100644 --- a/src/sage/categories/primer.py +++ b/src/sage/categories/primer.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Elements, parents, and categories in Sage: a primer diff --git a/src/sage/categories/principal_ideal_domains.py b/src/sage/categories/principal_ideal_domains.py index 6118e06b1c7..89c25cc374f 100644 --- a/src/sage/categories/principal_ideal_domains.py +++ b/src/sage/categories/principal_ideal_domains.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Principal ideal domains """ diff --git a/src/sage/categories/pushout.py b/src/sage/categories/pushout.py index 61f0f841720..5ad81f614c6 100644 --- a/src/sage/categories/pushout.py +++ b/src/sage/categories/pushout.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Coercion via construction functors """ diff --git a/src/sage/categories/quantum_group_representations.py b/src/sage/categories/quantum_group_representations.py index fc8a4697941..6b79ca4ea08 100644 --- a/src/sage/categories/quantum_group_representations.py +++ b/src/sage/categories/quantum_group_representations.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Quantum Group Representations diff --git a/src/sage/categories/quotient_fields.py b/src/sage/categories/quotient_fields.py index e33a48d4ceb..9ab5393c976 100644 --- a/src/sage/categories/quotient_fields.py +++ b/src/sage/categories/quotient_fields.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Quotient fields """ diff --git a/src/sage/categories/quotients.py b/src/sage/categories/quotients.py index bda06208d80..97b6243d7b1 100644 --- a/src/sage/categories/quotients.py +++ b/src/sage/categories/quotients.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Quotients Functorial Construction diff --git a/src/sage/categories/r_trivial_semigroups.py b/src/sage/categories/r_trivial_semigroups.py index a73f28931eb..840970e97c8 100644 --- a/src/sage/categories/r_trivial_semigroups.py +++ b/src/sage/categories/r_trivial_semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" R-trivial semigroups """ diff --git a/src/sage/categories/realizations.py b/src/sage/categories/realizations.py index d22b6f6a80a..f73652b8357 100644 --- a/src/sage/categories/realizations.py +++ b/src/sage/categories/realizations.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Realizations Covariant Functorial Construction diff --git a/src/sage/categories/regular_crystals.py b/src/sage/categories/regular_crystals.py index 5a0ac6291b5..3af41941d42 100644 --- a/src/sage/categories/regular_crystals.py +++ b/src/sage/categories/regular_crystals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat sage.graphs r""" Regular Crystals diff --git a/src/sage/categories/regular_supercrystals.py b/src/sage/categories/regular_supercrystals.py index 044f556a1f7..f7f6f3fa80e 100644 --- a/src/sage/categories/regular_supercrystals.py +++ b/src/sage/categories/regular_supercrystals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat sage.graphs r""" Regular Supercrystals diff --git a/src/sage/categories/right_modules.py b/src/sage/categories/right_modules.py index 47a8081d2a9..aa6582f2400 100644 --- a/src/sage/categories/right_modules.py +++ b/src/sage/categories/right_modules.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Right modules """ diff --git a/src/sage/categories/ring_ideals.py b/src/sage/categories/ring_ideals.py index fd634f1caef..2b28d4c0e2f 100644 --- a/src/sage/categories/ring_ideals.py +++ b/src/sage/categories/ring_ideals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Ring ideals """ diff --git a/src/sage/categories/rings.py b/src/sage/categories/rings.py index 02e81ff1f63..1ecbc0f01ac 100644 --- a/src/sage/categories/rings.py +++ b/src/sage/categories/rings.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Rings """ diff --git a/src/sage/categories/rngs.py b/src/sage/categories/rngs.py index 1841b45d1d5..e1a04c939c8 100644 --- a/src/sage/categories/rngs.py +++ b/src/sage/categories/rngs.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Rngs """ diff --git a/src/sage/categories/schemes.py b/src/sage/categories/schemes.py index cb1133a2192..d0b99f271eb 100644 --- a/src/sage/categories/schemes.py +++ b/src/sage/categories/schemes.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Schemes """ diff --git a/src/sage/categories/semigroups.py b/src/sage/categories/semigroups.py index 7c894a03112..fe34b5e9b22 100644 --- a/src/sage/categories/semigroups.py +++ b/src/sage/categories/semigroups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Semigroups """ diff --git a/src/sage/categories/semirings.py b/src/sage/categories/semirings.py index 62e6f7d918f..624a867608a 100644 --- a/src/sage/categories/semirings.py +++ b/src/sage/categories/semirings.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Semirngs """ diff --git a/src/sage/categories/semisimple_algebras.py b/src/sage/categories/semisimple_algebras.py index 453b854b7e7..7837a140608 100644 --- a/src/sage/categories/semisimple_algebras.py +++ b/src/sage/categories/semisimple_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Semisimple Algebras """ diff --git a/src/sage/categories/sets_cat.py b/src/sage/categories/sets_cat.py index 0a523f00903..60b42e527d5 100644 --- a/src/sage/categories/sets_cat.py +++ b/src/sage/categories/sets_cat.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Sets """ diff --git a/src/sage/categories/sets_with_grading.py b/src/sage/categories/sets_with_grading.py index a29d8c9c59c..9f9037e94b5 100644 --- a/src/sage/categories/sets_with_grading.py +++ b/src/sage/categories/sets_with_grading.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Sets With a Grading """ diff --git a/src/sage/categories/sets_with_partial_maps.py b/src/sage/categories/sets_with_partial_maps.py index 4210548b0fd..01993c2fb82 100644 --- a/src/sage/categories/sets_with_partial_maps.py +++ b/src/sage/categories/sets_with_partial_maps.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" SetsWithPartialMaps """ diff --git a/src/sage/categories/shephard_groups.py b/src/sage/categories/shephard_groups.py index 945274bcd84..2b68f4d37d8 100644 --- a/src/sage/categories/shephard_groups.py +++ b/src/sage/categories/shephard_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Shephard Groups """ diff --git a/src/sage/categories/signed_tensor.py b/src/sage/categories/signed_tensor.py index c5281b7275a..f11c9a9f2bb 100644 --- a/src/sage/categories/signed_tensor.py +++ b/src/sage/categories/signed_tensor.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Signed Tensor Product Functorial Construction diff --git a/src/sage/categories/simplicial_complexes.py b/src/sage/categories/simplicial_complexes.py index 9750dcab686..6cd81a778cb 100644 --- a/src/sage/categories/simplicial_complexes.py +++ b/src/sage/categories/simplicial_complexes.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Simplicial Complexes """ diff --git a/src/sage/categories/simplicial_sets.py b/src/sage/categories/simplicial_sets.py index 4eb27f085ca..7aa7e6ac6f0 100644 --- a/src/sage/categories/simplicial_sets.py +++ b/src/sage/categories/simplicial_sets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Simplicial Sets """ diff --git a/src/sage/categories/subobjects.py b/src/sage/categories/subobjects.py index 53ad660d75a..367b599d05a 100644 --- a/src/sage/categories/subobjects.py +++ b/src/sage/categories/subobjects.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Subobjects Functorial Construction diff --git a/src/sage/categories/subquotients.py b/src/sage/categories/subquotients.py index ede07cadec1..d4ced65976d 100644 --- a/src/sage/categories/subquotients.py +++ b/src/sage/categories/subquotients.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Subquotient Functorial Construction diff --git a/src/sage/categories/super_algebras.py b/src/sage/categories/super_algebras.py index 329ebebe420..abb2d404002 100644 --- a/src/sage/categories/super_algebras.py +++ b/src/sage/categories/super_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Super Algebras """ diff --git a/src/sage/categories/super_algebras_with_basis.py b/src/sage/categories/super_algebras_with_basis.py index 014fe6e563e..46731a1609f 100644 --- a/src/sage/categories/super_algebras_with_basis.py +++ b/src/sage/categories/super_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Super algebras with basis """ diff --git a/src/sage/categories/super_hopf_algebras_with_basis.py b/src/sage/categories/super_hopf_algebras_with_basis.py index b3b86d0973d..f66ada295e7 100644 --- a/src/sage/categories/super_hopf_algebras_with_basis.py +++ b/src/sage/categories/super_hopf_algebras_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Super Hopf algebras with basis """ diff --git a/src/sage/categories/super_lie_conformal_algebras.py b/src/sage/categories/super_lie_conformal_algebras.py index 9e38c4aa3e1..8e6c0865cfb 100644 --- a/src/sage/categories/super_lie_conformal_algebras.py +++ b/src/sage/categories/super_lie_conformal_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Super Lie Conformal Algebras diff --git a/src/sage/categories/super_modules.py b/src/sage/categories/super_modules.py index a6d17ea32b0..9dd6cc0675c 100644 --- a/src/sage/categories/super_modules.py +++ b/src/sage/categories/super_modules.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Super modules """ diff --git a/src/sage/categories/super_modules_with_basis.py b/src/sage/categories/super_modules_with_basis.py index ef4bbc048e8..3992deb600e 100644 --- a/src/sage/categories/super_modules_with_basis.py +++ b/src/sage/categories/super_modules_with_basis.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Super modules with basis """ diff --git a/src/sage/categories/supercommutative_algebras.py b/src/sage/categories/supercommutative_algebras.py index 1928c7057dc..2b35e4de93c 100644 --- a/src/sage/categories/supercommutative_algebras.py +++ b/src/sage/categories/supercommutative_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Supercommutative Algebras """ diff --git a/src/sage/categories/supercrystals.py b/src/sage/categories/supercrystals.py index 239aa8c0a86..0f3fc9702e4 100644 --- a/src/sage/categories/supercrystals.py +++ b/src/sage/categories/supercrystals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.graphs sage.combinat r""" Supercrystals diff --git a/src/sage/categories/tensor.py b/src/sage/categories/tensor.py index 01208e6217e..11e470e378f 100644 --- a/src/sage/categories/tensor.py +++ b/src/sage/categories/tensor.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Tensor Product Functorial Construction diff --git a/src/sage/categories/topological_spaces.py b/src/sage/categories/topological_spaces.py index 7ab806e6a2b..5a4d0affb51 100644 --- a/src/sage/categories/topological_spaces.py +++ b/src/sage/categories/topological_spaces.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Topological Spaces """ diff --git a/src/sage/categories/triangular_kac_moody_algebras.py b/src/sage/categories/triangular_kac_moody_algebras.py index f5730707d36..0a7988282d3 100644 --- a/src/sage/categories/triangular_kac_moody_algebras.py +++ b/src/sage/categories/triangular_kac_moody_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Kac-Moody Algebras With Triangular Decomposition Basis diff --git a/src/sage/categories/tutorial.py b/src/sage/categories/tutorial.py index fc2e2abe6f9..2c4ae1b2447 100644 --- a/src/sage/categories/tutorial.py +++ b/src/sage/categories/tutorial.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Implementing a new parent: a tutorial diff --git a/src/sage/categories/unique_factorization_domains.py b/src/sage/categories/unique_factorization_domains.py index 3f5467b0a16..a4a66111f4b 100644 --- a/src/sage/categories/unique_factorization_domains.py +++ b/src/sage/categories/unique_factorization_domains.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Unique factorization domains """ diff --git a/src/sage/categories/unital_algebras.py b/src/sage/categories/unital_algebras.py index 0f4fa24600d..2b90b404f26 100644 --- a/src/sage/categories/unital_algebras.py +++ b/src/sage/categories/unital_algebras.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Unital algebras """ diff --git a/src/sage/categories/vector_bundles.py b/src/sage/categories/vector_bundles.py index 3f3bed1f2d0..7f190a3ed81 100644 --- a/src/sage/categories/vector_bundles.py +++ b/src/sage/categories/vector_bundles.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.symbolic r""" Vector Bundles diff --git a/src/sage/categories/vector_spaces.py b/src/sage/categories/vector_spaces.py index 570fe58254b..1cae70f1d45 100644 --- a/src/sage/categories/vector_spaces.py +++ b/src/sage/categories/vector_spaces.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Vector Spaces """ diff --git a/src/sage/categories/weyl_groups.py b/src/sage/categories/weyl_groups.py index 9d5d6f28daa..9779d6b4a93 100644 --- a/src/sage/categories/weyl_groups.py +++ b/src/sage/categories/weyl_groups.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # sage.doctest: needs sage.combinat sage.groups r""" Weyl Groups diff --git a/src/sage/categories/with_realizations.py b/src/sage/categories/with_realizations.py index eaabcdaf04a..b747bdbedeb 100644 --- a/src/sage/categories/with_realizations.py +++ b/src/sage/categories/with_realizations.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ With Realizations Covariant Functorial Construction diff --git a/src/sage/cpython/__init__.py b/src/sage/cpython/__init__.py index 0e4de12a8b1..1742d8853b4 100644 --- a/src/sage/cpython/__init__.py +++ b/src/sage/cpython/__init__.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # sage.cpython is an ordinary package, not a namespace package. # This package is imported very early, which is why workarounds/monkey-patching diff --git a/src/sage/cpython/_py2_random.py b/src/sage/cpython/_py2_random.py index 38ca23416ed..0da28217eec 100644 --- a/src/sage/cpython/_py2_random.py +++ b/src/sage/cpython/_py2_random.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Except from the `random` module from Python 2.7.14 used solely for consistency in the doctest suite for random results that depend on the Python PRNG. diff --git a/src/sage/cpython/all.py b/src/sage/cpython/all.py index d48ee4c7d45..f17f7a6559a 100644 --- a/src/sage/cpython/all.py +++ b/src/sage/cpython/all.py @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-objects from sage.cpython.debug import getattr_debug, type_debug from sage.cpython.getattr import raw_getattr diff --git a/src/sage/cpython/atexit.pyx b/src/sage/cpython/atexit.pyx index d5b5e51e8bc..dc132a9d25d 100644 --- a/src/sage/cpython/atexit.pyx +++ b/src/sage/cpython/atexit.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """Utilities for interfacing with the standard library's atexit module.""" diff --git a/src/sage/cpython/builtin_types.pyx b/src/sage/cpython/builtin_types.pyx index bfac8c414a7..f094d909dbf 100644 --- a/src/sage/cpython/builtin_types.pyx +++ b/src/sage/cpython/builtin_types.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from cpython.object cimport PyTypeObject cdef extern from *: diff --git a/src/sage/cpython/cython_metaclass.pxd b/src/sage/cpython/cython_metaclass.pxd index 189eb04f1c4..fc4bb020ed0 100644 --- a/src/sage/cpython/cython_metaclass.pxd +++ b/src/sage/cpython/cython_metaclass.pxd @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-objects cdef extern from "cython_metaclass.h": PyMethodDescr_CallSelf(desc, self) diff --git a/src/sage/cpython/cython_metaclass.pyx b/src/sage/cpython/cython_metaclass.pyx index a8fa92fc1a8..6447ed19e6d 100644 --- a/src/sage/cpython/cython_metaclass.pyx +++ b/src/sage/cpython/cython_metaclass.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Metaclasses for Cython extension types diff --git a/src/sage/cpython/debug.pyx b/src/sage/cpython/debug.pyx index 09680986673..79aba1a7fbe 100644 --- a/src/sage/cpython/debug.pyx +++ b/src/sage/cpython/debug.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Various functions to debug Python internals """ diff --git a/src/sage/cpython/dict_del_by_value.pxd b/src/sage/cpython/dict_del_by_value.pxd index 71572b8951f..1bb9f8bd1c5 100644 --- a/src/sage/cpython/dict_del_by_value.pxd +++ b/src/sage/cpython/dict_del_by_value.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from cpython.object cimport PyObject cdef extern from "Python.h": ctypedef struct PyDictObject diff --git a/src/sage/cpython/dict_del_by_value.pyx b/src/sage/cpython/dict_del_by_value.pyx index e00b4bcd611..44f0700206e 100644 --- a/src/sage/cpython/dict_del_by_value.pyx +++ b/src/sage/cpython/dict_del_by_value.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Delete item from PyDict by exact value and hash diff --git a/src/sage/cpython/getattr.pxd b/src/sage/cpython/getattr.pxd index e0987cfa4c5..adf20ae9766 100644 --- a/src/sage/cpython/getattr.pxd +++ b/src/sage/cpython/getattr.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # A class that allows for a more efficient creation # of attribute errors, so that raising them requires # less time. diff --git a/src/sage/cpython/getattr.pyx b/src/sage/cpython/getattr.pyx index d8a5795c0c4..899fbe62ecc 100644 --- a/src/sage/cpython/getattr.pyx +++ b/src/sage/cpython/getattr.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Variants of getattr() """ diff --git a/src/sage/cpython/pycore_long.pxd b/src/sage/cpython/pycore_long.pxd index 41de637ff18..4fe503a247e 100644 --- a/src/sage/cpython/pycore_long.pxd +++ b/src/sage/cpython/pycore_long.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from cpython.longintrepr cimport py_long, digit cdef extern from "pycore_long.h": diff --git a/src/sage/cpython/python_debug.pxd b/src/sage/cpython/python_debug.pxd index a7a2f112d00..f43779e5362 100644 --- a/src/sage/cpython/python_debug.pxd +++ b/src/sage/cpython/python_debug.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # Python can be built with extensive debugging support. This file lets # Sage know about which debugging options are enabled. # diff --git a/src/sage/cpython/string.pxd b/src/sage/cpython/string.pxd index 1fde0aec0de..58c80d14987 100644 --- a/src/sage/cpython/string.pxd +++ b/src/sage/cpython/string.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # **************************************************************************** # Copyright (C) 2017 Erik M. Bray # diff --git a/src/sage/cpython/string.pyx b/src/sage/cpython/string.pyx index 0bf650ef85a..fe472fd95bc 100644 --- a/src/sage/cpython/string.pyx +++ b/src/sage/cpython/string.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ String <-> bytes encoding/decoding diff --git a/src/sage/cpython/type.pxd b/src/sage/cpython/type.pxd index f3f80c7a6c6..2f77fe0a88e 100644 --- a/src/sage/cpython/type.pxd +++ b/src/sage/cpython/type.pxd @@ -1 +1,2 @@ +# sage_setup: distribution = sagemath-objects cpdef bint can_assign_class(obj) noexcept diff --git a/src/sage/cpython/type.pyx b/src/sage/cpython/type.pyx index f9dcabc5df4..d2041c13ab5 100644 --- a/src/sage/cpython/type.pyx +++ b/src/sage/cpython/type.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Type internals """ diff --git a/src/sage/cpython/wrapperdescr.pxd b/src/sage/cpython/wrapperdescr.pxd index b6775860710..100d3a758bb 100644 --- a/src/sage/cpython/wrapperdescr.pxd +++ b/src/sage/cpython/wrapperdescr.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from cpython.object cimport PyObject, PyTypeObject cdef extern from *: diff --git a/src/sage/cpython/wrapperdescr.pyx b/src/sage/cpython/wrapperdescr.pyx index 776e4fe94a8..1e74353e798 100644 --- a/src/sage/cpython/wrapperdescr.pyx +++ b/src/sage/cpython/wrapperdescr.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Slot wrappers diff --git a/src/sage/doctest/__init__.py b/src/sage/doctest/__init__.py index 95280f2c603..d0892b4ed55 100644 --- a/src/sage/doctest/__init__.py +++ b/src/sage/doctest/__init__.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl # This flag gets set to True by sage.doctest.forker.init_sage at the # beginning of each doctest run. DOCTEST_MODE = False diff --git a/src/sage/doctest/all.py b/src/sage/doctest/all.py index bc363e7830c..1ae5a6ab93c 100644 --- a/src/sage/doctest/all.py +++ b/src/sage/doctest/all.py @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-repl from sage.misc.lazy_import import lazy_import lazy_import('sage.doctest.control', 'run_doctests') diff --git a/src/sage/doctest/control.py b/src/sage/doctest/control.py index ba78f9bc2a6..80bf6a517e5 100644 --- a/src/sage/doctest/control.py +++ b/src/sage/doctest/control.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Classes involved in doctesting diff --git a/src/sage/doctest/external.py b/src/sage/doctest/external.py index 4628db45f5c..e1f00d0e740 100644 --- a/src/sage/doctest/external.py +++ b/src/sage/doctest/external.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Detecting external software diff --git a/src/sage/doctest/fixtures.py b/src/sage/doctest/fixtures.py index 9fbfdf86db9..01f931727df 100644 --- a/src/sage/doctest/fixtures.py +++ b/src/sage/doctest/fixtures.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Fixtures to help testing functionality diff --git a/src/sage/doctest/forker.py b/src/sage/doctest/forker.py index 3e5b4c52811..e56a68adac7 100644 --- a/src/sage/doctest/forker.py +++ b/src/sage/doctest/forker.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Processes for running doctests diff --git a/src/sage/doctest/parsing.py b/src/sage/doctest/parsing.py index ef70ddf9298..06d504f6d41 100644 --- a/src/sage/doctest/parsing.py +++ b/src/sage/doctest/parsing.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Parsing docstrings diff --git a/src/sage/doctest/parsing_test.py b/src/sage/doctest/parsing_test.py index 6af0d60c676..29632e4451c 100644 --- a/src/sage/doctest/parsing_test.py +++ b/src/sage/doctest/parsing_test.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl import sys import pytest diff --git a/src/sage/doctest/reporting.py b/src/sage/doctest/reporting.py index 344122a02e2..e4f5c305b45 100644 --- a/src/sage/doctest/reporting.py +++ b/src/sage/doctest/reporting.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Reporting doctest results diff --git a/src/sage/doctest/sources.py b/src/sage/doctest/sources.py index eff2a853e2b..61165b62aeb 100644 --- a/src/sage/doctest/sources.py +++ b/src/sage/doctest/sources.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Classes for sources of doctests diff --git a/src/sage/doctest/test.py b/src/sage/doctest/test.py index cb2cecc0b8b..4907d30d58d 100644 --- a/src/sage/doctest/test.py +++ b/src/sage/doctest/test.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Test the doctesting framework diff --git a/src/sage/doctest/util.py b/src/sage/doctest/util.py index b68068a0ce1..3fe9d3408bd 100644 --- a/src/sage/doctest/util.py +++ b/src/sage/doctest/util.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Utility functions diff --git a/src/sage/env.py b/src/sage/env.py index 3d336aa18ea..e303e73586f 100644 --- a/src/sage/env.py +++ b/src/sage/env.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Sage Runtime Environment diff --git a/src/sage/ext/all__sagemath_objects.py b/src/sage/ext/all__sagemath_objects.py index 38e44245ad3..40da49fdd73 100644 --- a/src/sage/ext/all__sagemath_objects.py +++ b/src/sage/ext/all__sagemath_objects.py @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-objects # The presence of this file ensures that sage_setup for sagemath-objects # considers this directory as a namespace package diff --git a/src/sage/ext/stdsage.pxd b/src/sage/ext/stdsage.pxd index ddd3fd76504..e8e8f3823f3 100644 --- a/src/sage/ext/stdsage.pxd +++ b/src/sage/ext/stdsage.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Standard C helper code for Cython modules """ diff --git a/src/sage/features/__init__.py b/src/sage/features/__init__.py index b8deaa350e5..c58492cb4f0 100644 --- a/src/sage/features/__init__.py +++ b/src/sage/features/__init__.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Testing for features of the environment at runtime diff --git a/src/sage/features/all.py b/src/sage/features/all.py index 599bc575dd7..a53d095c596 100644 --- a/src/sage/features/all.py +++ b/src/sage/features/all.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Enumeration of all defined features """ diff --git a/src/sage/features/bliss.py b/src/sage/features/bliss.py index 37fc4d7f8c3..cfdd84da1c7 100644 --- a/src/sage/features/bliss.py +++ b/src/sage/features/bliss.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``bliss`` """ diff --git a/src/sage/features/cddlib.py b/src/sage/features/cddlib.py index b8fdb6fed8e..24b67ef9f8e 100644 --- a/src/sage/features/cddlib.py +++ b/src/sage/features/cddlib.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``cddlib`` """ diff --git a/src/sage/features/csdp.py b/src/sage/features/csdp.py index b5aaa80e0bf..866ca1c21d1 100644 --- a/src/sage/features/csdp.py +++ b/src/sage/features/csdp.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``csdp`` """ diff --git a/src/sage/features/cython.py b/src/sage/features/cython.py index 8f03155ac2f..30f66eb3426 100644 --- a/src/sage/features/cython.py +++ b/src/sage/features/cython.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``cython`` """ diff --git a/src/sage/features/databases.py b/src/sage/features/databases.py index 844ed54de17..7a05270532c 100644 --- a/src/sage/features/databases.py +++ b/src/sage/features/databases.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of various databases """ diff --git a/src/sage/features/dvipng.py b/src/sage/features/dvipng.py index 281084a6e72..66fbee39561 100644 --- a/src/sage/features/dvipng.py +++ b/src/sage/features/dvipng.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``dvipng`` """ diff --git a/src/sage/features/ecm.py b/src/sage/features/ecm.py index 980878cd9f7..06f4ac10dbd 100644 --- a/src/sage/features/ecm.py +++ b/src/sage/features/ecm.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``ecm`` or ``gmp-ecm`` """ diff --git a/src/sage/features/ffmpeg.py b/src/sage/features/ffmpeg.py index 36a23594162..366249875d7 100644 --- a/src/sage/features/ffmpeg.py +++ b/src/sage/features/ffmpeg.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``ffmpeg`` """ diff --git a/src/sage/features/four_ti_2.py b/src/sage/features/four_ti_2.py index 2af1c1e25d2..655674cbde1 100644 --- a/src/sage/features/four_ti_2.py +++ b/src/sage/features/four_ti_2.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``4ti2`` """ diff --git a/src/sage/features/fricas.py b/src/sage/features/fricas.py index a52e082d114..d5b7d469207 100644 --- a/src/sage/features/fricas.py +++ b/src/sage/features/fricas.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``fricas`` """ diff --git a/src/sage/features/gap.py b/src/sage/features/gap.py index 314ba1cc514..fdcbceee102 100644 --- a/src/sage/features/gap.py +++ b/src/sage/features/gap.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of the SageMath interfaces to ``gap`` and of GAP packages """ diff --git a/src/sage/features/gfan.py b/src/sage/features/gfan.py index a58090b4c91..e3545392934 100644 --- a/src/sage/features/gfan.py +++ b/src/sage/features/gfan.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``gfan`` """ diff --git a/src/sage/features/graph_generators.py b/src/sage/features/graph_generators.py index 47c4557241c..8f384af9ed3 100644 --- a/src/sage/features/graph_generators.py +++ b/src/sage/features/graph_generators.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of graph generator programs ``benzene``, ``buckygen``, ``plantri`` """ diff --git a/src/sage/features/graphviz.py b/src/sage/features/graphviz.py index abf9b7615fa..4e6ae9a6c4a 100644 --- a/src/sage/features/graphviz.py +++ b/src/sage/features/graphviz.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``graphviz`` """ diff --git a/src/sage/features/igraph.py b/src/sage/features/igraph.py index bcf81f9cec7..00d260f2ac7 100644 --- a/src/sage/features/igraph.py +++ b/src/sage/features/igraph.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Check for igraph """ diff --git a/src/sage/features/imagemagick.py b/src/sage/features/imagemagick.py index fceeed8b727..526ac278877 100644 --- a/src/sage/features/imagemagick.py +++ b/src/sage/features/imagemagick.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``imagemagick`` diff --git a/src/sage/features/interfaces.py b/src/sage/features/interfaces.py index ddfc3b9b7ee..6d5249ab443 100644 --- a/src/sage/features/interfaces.py +++ b/src/sage/features/interfaces.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing whether interpreter interfaces to ``magma``, ``maple``, ``mathematica`` etc. are functional """ diff --git a/src/sage/features/internet.py b/src/sage/features/internet.py index 576b0136926..bba178bd326 100644 --- a/src/sage/features/internet.py +++ b/src/sage/features/internet.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing if the Internet is available """ diff --git a/src/sage/features/jmol.py b/src/sage/features/jmol.py index 47ea7426991..feb293bd8db 100644 --- a/src/sage/features/jmol.py +++ b/src/sage/features/jmol.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment import os from . import StaticFile diff --git a/src/sage/features/join_feature.py b/src/sage/features/join_feature.py index 81a5b7fb6e9..afb41e7f227 100644 --- a/src/sage/features/join_feature.py +++ b/src/sage/features/join_feature.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Join features """ diff --git a/src/sage/features/kenzo.py b/src/sage/features/kenzo.py index 72f703da15f..39b8dd9a936 100644 --- a/src/sage/features/kenzo.py +++ b/src/sage/features/kenzo.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``kenzo`` """ diff --git a/src/sage/features/latex.py b/src/sage/features/latex.py index 874c5ca7bfb..6f366ff86f6 100644 --- a/src/sage/features/latex.py +++ b/src/sage/features/latex.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``latex`` and equivalent programs """ diff --git a/src/sage/features/latte.py b/src/sage/features/latte.py index 4df8b1cd586..7e973978c24 100644 --- a/src/sage/features/latte.py +++ b/src/sage/features/latte.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``latte_int`` """ diff --git a/src/sage/features/lrs.py b/src/sage/features/lrs.py index 97897bc23c8..52506e496e5 100644 --- a/src/sage/features/lrs.py +++ b/src/sage/features/lrs.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``lrslib`` """ diff --git a/src/sage/features/mcqd.py b/src/sage/features/mcqd.py index 036e8fc727b..25dc159f8d3 100644 --- a/src/sage/features/mcqd.py +++ b/src/sage/features/mcqd.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``mcqd`` """ diff --git a/src/sage/features/meataxe.py b/src/sage/features/meataxe.py index cc2a69cfeff..319b58866ca 100644 --- a/src/sage/features/meataxe.py +++ b/src/sage/features/meataxe.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``meataxe`` """ diff --git a/src/sage/features/mip_backends.py b/src/sage/features/mip_backends.py index 98b4766c1f5..a6aa0ff2525 100644 --- a/src/sage/features/mip_backends.py +++ b/src/sage/features/mip_backends.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of :class:`MixedIntegerLinearProgram` backends """ diff --git a/src/sage/features/msolve.py b/src/sage/features/msolve.py index 9d58a25628e..4328af54876 100644 --- a/src/sage/features/msolve.py +++ b/src/sage/features/msolve.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of msolve diff --git a/src/sage/features/nauty.py b/src/sage/features/nauty.py index 4a07264f927..79542de74fc 100644 --- a/src/sage/features/nauty.py +++ b/src/sage/features/nauty.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of nauty executables """ diff --git a/src/sage/features/normaliz.py b/src/sage/features/normaliz.py index 80b3891daf3..6d1de88bf58 100644 --- a/src/sage/features/normaliz.py +++ b/src/sage/features/normaliz.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``pynormaliz`` """ diff --git a/src/sage/features/palp.py b/src/sage/features/palp.py index b58a8fc2e54..b35634ac800 100644 --- a/src/sage/features/palp.py +++ b/src/sage/features/palp.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``palp`` """ diff --git a/src/sage/features/pandoc.py b/src/sage/features/pandoc.py index 275ba2c9b36..1c4450b9b0c 100644 --- a/src/sage/features/pandoc.py +++ b/src/sage/features/pandoc.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``pandoc`` """ diff --git a/src/sage/features/pdf2svg.py b/src/sage/features/pdf2svg.py index 98578ecb6a1..af20d011ac3 100644 --- a/src/sage/features/pdf2svg.py +++ b/src/sage/features/pdf2svg.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``pdf2svg`` """ diff --git a/src/sage/features/phitigra.py b/src/sage/features/phitigra.py index 6c1896bd8df..ea4d855cf53 100644 --- a/src/sage/features/phitigra.py +++ b/src/sage/features/phitigra.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Check for ``phitigra`` """ diff --git a/src/sage/features/pkg_systems.py b/src/sage/features/pkg_systems.py index 72ecd494344..4f6db21b735 100644 --- a/src/sage/features/pkg_systems.py +++ b/src/sage/features/pkg_systems.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of package systems ``sage_spkg``, ``conda``, ``pip``, ``debian``, ``fedora`` etc. """ diff --git a/src/sage/features/polymake.py b/src/sage/features/polymake.py index d2b433b1c7f..10dfab73346 100644 --- a/src/sage/features/polymake.py +++ b/src/sage/features/polymake.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Feature for testing the presence of ``jupymake``, the Python interface to polymake """ diff --git a/src/sage/features/poppler.py b/src/sage/features/poppler.py index b8f8586e7f5..c4777e9c6ca 100644 --- a/src/sage/features/poppler.py +++ b/src/sage/features/poppler.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Check for poppler features diff --git a/src/sage/features/rubiks.py b/src/sage/features/rubiks.py index 07250532cb6..2429645d2ff 100644 --- a/src/sage/features/rubiks.py +++ b/src/sage/features/rubiks.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``rubiks`` """ diff --git a/src/sage/features/sagemath.py b/src/sage/features/sagemath.py index 2001f793a2f..745961c0c12 100644 --- a/src/sage/features/sagemath.py +++ b/src/sage/features/sagemath.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of Python modules in the Sage library diff --git a/src/sage/features/singular.py b/src/sage/features/singular.py index fce89a8e91c..d6469b6f7f4 100644 --- a/src/sage/features/singular.py +++ b/src/sage/features/singular.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``singular`` and the SageMath interfaces to it """ diff --git a/src/sage/features/sphinx.py b/src/sage/features/sphinx.py index a70e8a11eee..ec7c8be17b6 100644 --- a/src/sage/features/sphinx.py +++ b/src/sage/features/sphinx.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``sphinx`` """ diff --git a/src/sage/features/standard.py b/src/sage/features/standard.py index c2090fc53a4..94272802aad 100644 --- a/src/sage/features/standard.py +++ b/src/sage/features/standard.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Check for various standard packages (for modularized distributions) diff --git a/src/sage/features/symengine_py.py b/src/sage/features/symengine_py.py index d32492085b7..0e602e0b84d 100644 --- a/src/sage/features/symengine_py.py +++ b/src/sage/features/symengine_py.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Check for symengine_py """ diff --git a/src/sage/features/tdlib.py b/src/sage/features/tdlib.py index 128c056a49c..eb0b3b10c93 100644 --- a/src/sage/features/tdlib.py +++ b/src/sage/features/tdlib.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Features for testing the presence of ``tdlib`` """ diff --git a/src/sage/features/threejs.py b/src/sage/features/threejs.py index 4f65c5bd48e..39136c87ecd 100644 --- a/src/sage/features/threejs.py +++ b/src/sage/features/threejs.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment import os from . import StaticFile diff --git a/src/sage/graphs/all__sagemath_bliss.py b/src/sage/graphs/all__sagemath_bliss.py index e69de29bb2d..00e01e7dfe7 100644 --- a/src/sage/graphs/all__sagemath_bliss.py +++ b/src/sage/graphs/all__sagemath_bliss.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-bliss diff --git a/src/sage/graphs/all__sagemath_mcqd.py b/src/sage/graphs/all__sagemath_mcqd.py index e69de29bb2d..9d46f0ff6ba 100644 --- a/src/sage/graphs/all__sagemath_mcqd.py +++ b/src/sage/graphs/all__sagemath_mcqd.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-mcqd diff --git a/src/sage/graphs/all__sagemath_tdlib.py b/src/sage/graphs/all__sagemath_tdlib.py index e69de29bb2d..e26612c8409 100644 --- a/src/sage/graphs/all__sagemath_tdlib.py +++ b/src/sage/graphs/all__sagemath_tdlib.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-tdlib diff --git a/src/sage/graphs/graph_decompositions/all__sagemath_tdlib.py b/src/sage/graphs/graph_decompositions/all__sagemath_tdlib.py index e69de29bb2d..e26612c8409 100644 --- a/src/sage/graphs/graph_decompositions/all__sagemath_tdlib.py +++ b/src/sage/graphs/graph_decompositions/all__sagemath_tdlib.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-tdlib diff --git a/src/sage/libs/all__sagemath_coxeter3.py b/src/sage/libs/all__sagemath_coxeter3.py index e69de29bb2d..61138b7bc1a 100644 --- a/src/sage/libs/all__sagemath_coxeter3.py +++ b/src/sage/libs/all__sagemath_coxeter3.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-coxeter3 diff --git a/src/sage/libs/all__sagemath_meataxe.py b/src/sage/libs/all__sagemath_meataxe.py index e69de29bb2d..fd1e327ee2f 100644 --- a/src/sage/libs/all__sagemath_meataxe.py +++ b/src/sage/libs/all__sagemath_meataxe.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-meataxe diff --git a/src/sage/libs/all__sagemath_objects.py b/src/sage/libs/all__sagemath_objects.py index 38e44245ad3..40da49fdd73 100644 --- a/src/sage/libs/all__sagemath_objects.py +++ b/src/sage/libs/all__sagemath_objects.py @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-objects # The presence of this file ensures that sage_setup for sagemath-objects # considers this directory as a namespace package diff --git a/src/sage/libs/all__sagemath_sirocco.py b/src/sage/libs/all__sagemath_sirocco.py index e69de29bb2d..44db2511e89 100644 --- a/src/sage/libs/all__sagemath_sirocco.py +++ b/src/sage/libs/all__sagemath_sirocco.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-sirocco diff --git a/src/sage/libs/gmp/__init__.py b/src/sage/libs/gmp/__init__.py index e69de29bb2d..f9b8167c3cd 100644 --- a/src/sage/libs/gmp/__init__.py +++ b/src/sage/libs/gmp/__init__.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-objects diff --git a/src/sage/libs/gmp/all.pxd b/src/sage/libs/gmp/all.pxd index cf1f3fa6417..ee59521494e 100644 --- a/src/sage/libs/gmp/all.pxd +++ b/src/sage/libs/gmp/all.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.libs.gmp.types cimport * from sage.libs.gmp.random cimport * from sage.libs.gmp.mpz cimport * diff --git a/src/sage/libs/gmp/binop.pxd b/src/sage/libs/gmp/binop.pxd index 6b56c24a1b5..94b6db1a8db 100644 --- a/src/sage/libs/gmp/binop.pxd +++ b/src/sage/libs/gmp/binop.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Fast binary operations for basic types """ diff --git a/src/sage/libs/gmp/misc.pxd b/src/sage/libs/gmp/misc.pxd index 3ad4f2a89db..c64528d0e9c 100644 --- a/src/sage/libs/gmp/misc.pxd +++ b/src/sage/libs/gmp/misc.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # distutils: libraries = gmp cdef extern from "gmp.h": diff --git a/src/sage/libs/gmp/mpf.pxd b/src/sage/libs/gmp/mpf.pxd index b63d84009c0..a1bbfd46df3 100644 --- a/src/sage/libs/gmp/mpf.pxd +++ b/src/sage/libs/gmp/mpf.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # distutils: libraries = gmp from sage.libs.gmp.types cimport * diff --git a/src/sage/libs/gmp/mpn.pxd b/src/sage/libs/gmp/mpn.pxd index 890c5b63da7..34b045e1f4b 100644 --- a/src/sage/libs/gmp/mpn.pxd +++ b/src/sage/libs/gmp/mpn.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # distutils: libraries = gmp from sage.libs.gmp.types cimport * diff --git a/src/sage/libs/gmp/mpq.pxd b/src/sage/libs/gmp/mpq.pxd index d865630aee0..068988ffbc4 100644 --- a/src/sage/libs/gmp/mpq.pxd +++ b/src/sage/libs/gmp/mpq.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # distutils: libraries = gmp from sage.libs.gmp.types cimport * diff --git a/src/sage/libs/gmp/mpz.pxd b/src/sage/libs/gmp/mpz.pxd index 71d1e5e3069..66c44773d17 100644 --- a/src/sage/libs/gmp/mpz.pxd +++ b/src/sage/libs/gmp/mpz.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # distutils: libraries = gmp from sage.libs.gmp.types cimport * diff --git a/src/sage/libs/gmp/pylong.pxd b/src/sage/libs/gmp/pylong.pxd index 325d747f57b..fbc8e5671f7 100644 --- a/src/sage/libs/gmp/pylong.pxd +++ b/src/sage/libs/gmp/pylong.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Various functions to deal with conversion mpz <-> Python int/long """ diff --git a/src/sage/libs/gmp/pylong.pyx b/src/sage/libs/gmp/pylong.pyx index 80f9843e07c..660cdbbae58 100644 --- a/src/sage/libs/gmp/pylong.pyx +++ b/src/sage/libs/gmp/pylong.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Various functions to deal with conversion mpz <-> Python int/long diff --git a/src/sage/libs/gmp/random.pxd b/src/sage/libs/gmp/random.pxd index a50657454ca..ef3cde3c4ea 100644 --- a/src/sage/libs/gmp/random.pxd +++ b/src/sage/libs/gmp/random.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # distutils: libraries = gmp from sage.libs.gmp.types cimport * diff --git a/src/sage/libs/gmp/randomize.pxd b/src/sage/libs/gmp/randomize.pxd index 3876c0dda13..ac4d155c694 100644 --- a/src/sage/libs/gmp/randomize.pxd +++ b/src/sage/libs/gmp/randomize.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Generate random rationals in Sage """ diff --git a/src/sage/libs/gmp/types.pxd b/src/sage/libs/gmp/types.pxd index a8a4a6a35c4..0047df1194e 100644 --- a/src/sage/libs/gmp/types.pxd +++ b/src/sage/libs/gmp/types.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from libc.stdio cimport FILE cdef extern from "gmp.h": diff --git a/src/sage/matrix/all__sagemath_meataxe.py b/src/sage/matrix/all__sagemath_meataxe.py index e69de29bb2d..fd1e327ee2f 100644 --- a/src/sage/matrix/all__sagemath_meataxe.py +++ b/src/sage/matrix/all__sagemath_meataxe.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-meataxe diff --git a/src/sage/misc/abstract_method.py b/src/sage/misc/abstract_method.py index bd78b05c7d5..0d62313d27e 100644 --- a/src/sage/misc/abstract_method.py +++ b/src/sage/misc/abstract_method.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Abstract methods """ diff --git a/src/sage/misc/all__sagemath_environment.py b/src/sage/misc/all__sagemath_environment.py index 9ebcc85870b..2f09e9c4d56 100644 --- a/src/sage/misc/all__sagemath_environment.py +++ b/src/sage/misc/all__sagemath_environment.py @@ -1 +1,2 @@ +# sage_setup: distribution = sagemath-environment from sage.misc.temporary_file import tmp_dir, tmp_filename diff --git a/src/sage/misc/all__sagemath_objects.py b/src/sage/misc/all__sagemath_objects.py index 30a76f38fab..00f1fddbb68 100644 --- a/src/sage/misc/all__sagemath_objects.py +++ b/src/sage/misc/all__sagemath_objects.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # Subset of sage.misc.all that is made available by the sage-objects distribution import sage.structure.all # to break a cyclic import diff --git a/src/sage/misc/all__sagemath_repl.py b/src/sage/misc/all__sagemath_repl.py index c7acba4ab07..9631c49d0bd 100644 --- a/src/sage/misc/all__sagemath_repl.py +++ b/src/sage/misc/all__sagemath_repl.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl from sage.misc.sage_eval import sage_eval, sageobj from sage.misc.sage_input import sage_input diff --git a/src/sage/misc/banner.py b/src/sage/misc/banner.py index 9d231926705..0ecac1d75b9 100644 --- a/src/sage/misc/banner.py +++ b/src/sage/misc/banner.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" SageMath version and banner info """ diff --git a/src/sage/misc/bindable_class.py b/src/sage/misc/bindable_class.py index 8739bab3002..d9cfa536dc9 100644 --- a/src/sage/misc/bindable_class.py +++ b/src/sage/misc/bindable_class.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Bindable classes """ diff --git a/src/sage/misc/c3_controlled.pxd b/src/sage/misc/c3_controlled.pxd index d5dd5c23183..dc2701d6c00 100644 --- a/src/sage/misc/c3_controlled.pxd +++ b/src/sage/misc/c3_controlled.pxd @@ -1 +1,2 @@ +# sage_setup: distribution = sagemath-objects cpdef tuple C3_sorted_merge(list lists, key=?) diff --git a/src/sage/misc/c3_controlled.pyx b/src/sage/misc/c3_controlled.pyx index 437a3da23cf..cc920ff09a2 100644 --- a/src/sage/misc/c3_controlled.pyx +++ b/src/sage/misc/c3_controlled.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ The C3 algorithm, under control of a total order diff --git a/src/sage/misc/cachefunc.pxd b/src/sage/misc/cachefunc.pxd index 1ebd6f25a9d..a08889f22cb 100644 --- a/src/sage/misc/cachefunc.pxd +++ b/src/sage/misc/cachefunc.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.misc.function_mangling cimport ArgumentFixer cpdef dict_key(o) diff --git a/src/sage/misc/cachefunc.pyx b/src/sage/misc/cachefunc.pyx index 7b95ce26779..094f036cbd3 100644 --- a/src/sage/misc/cachefunc.pyx +++ b/src/sage/misc/cachefunc.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Cached Functions and Methods diff --git a/src/sage/misc/call.py b/src/sage/misc/call.py index 1d3055faf78..86a600d888e 100644 --- a/src/sage/misc/call.py +++ b/src/sage/misc/call.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Attribute and method calling """ diff --git a/src/sage/misc/classcall_metaclass.pxd b/src/sage/misc/classcall_metaclass.pxd index 85ea3bd5eef..1ae792f074b 100644 --- a/src/sage/misc/classcall_metaclass.pxd +++ b/src/sage/misc/classcall_metaclass.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects #***************************************************************************** # Copyright (C) 2012 Florent Hivert # diff --git a/src/sage/misc/classcall_metaclass.pyx b/src/sage/misc/classcall_metaclass.pyx index 65351cb2756..691f7fec01e 100644 --- a/src/sage/misc/classcall_metaclass.pyx +++ b/src/sage/misc/classcall_metaclass.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Special Methods for Classes diff --git a/src/sage/misc/constant_function.pyx b/src/sage/misc/constant_function.pyx index e94f36da403..4eb58d7599a 100644 --- a/src/sage/misc/constant_function.pyx +++ b/src/sage/misc/constant_function.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Constant functions """ diff --git a/src/sage/misc/decorators.py b/src/sage/misc/decorators.py index f0b34b8843d..9378b3a333f 100644 --- a/src/sage/misc/decorators.py +++ b/src/sage/misc/decorators.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Decorators diff --git a/src/sage/misc/fast_methods.pxd b/src/sage/misc/fast_methods.pxd index 4df34feab62..8a1070a263b 100644 --- a/src/sage/misc/fast_methods.pxd +++ b/src/sage/misc/fast_methods.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects cdef extern from "Python.h": cdef size_t SIZEOF_VOID_P diff --git a/src/sage/misc/fast_methods.pyx b/src/sage/misc/fast_methods.pyx index ce7f918cccd..6ac4a020da2 100644 --- a/src/sage/misc/fast_methods.pyx +++ b/src/sage/misc/fast_methods.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Fast methods via Cython diff --git a/src/sage/misc/flatten.py b/src/sage/misc/flatten.py index 889cf2e9d1d..92c3a0b82b9 100644 --- a/src/sage/misc/flatten.py +++ b/src/sage/misc/flatten.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects "Flatten nested lists" import sys diff --git a/src/sage/misc/function_mangling.pxd b/src/sage/misc/function_mangling.pxd index 01604088adc..e7c6cfd8780 100644 --- a/src/sage/misc/function_mangling.pxd +++ b/src/sage/misc/function_mangling.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects cdef class ArgumentFixer: cdef public object f cdef public int _ndefault diff --git a/src/sage/misc/function_mangling.pyx b/src/sage/misc/function_mangling.pyx index 5f440742dcb..4b50a1c53e6 100644 --- a/src/sage/misc/function_mangling.pyx +++ b/src/sage/misc/function_mangling.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # Copyright (c) 2009, Tom Boothby # All rights reserved. # diff --git a/src/sage/misc/inherit_comparison.pxd b/src/sage/misc/inherit_comparison.pxd index 28a29270a25..86207223782 100644 --- a/src/sage/misc/inherit_comparison.pxd +++ b/src/sage/misc/inherit_comparison.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects cimport sage.cpython.cython_metaclass cdef class InheritComparisonMetaclass(type): diff --git a/src/sage/misc/inherit_comparison.pyx b/src/sage/misc/inherit_comparison.pyx index 394044d8a9a..9758d25574d 100644 --- a/src/sage/misc/inherit_comparison.pyx +++ b/src/sage/misc/inherit_comparison.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Metaclass for inheriting comparison functions diff --git a/src/sage/misc/instancedoc.pyx b/src/sage/misc/instancedoc.pyx index 44ee70f64ba..852cde57220 100644 --- a/src/sage/misc/instancedoc.pyx +++ b/src/sage/misc/instancedoc.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Dynamic documentation for instances of classes diff --git a/src/sage/misc/lazy_attribute.pyx b/src/sage/misc/lazy_attribute.pyx index e2dee7b58ac..bdadc27f0c8 100644 --- a/src/sage/misc/lazy_attribute.pyx +++ b/src/sage/misc/lazy_attribute.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Lazy attributes diff --git a/src/sage/misc/lazy_format.py b/src/sage/misc/lazy_format.py index b58ea155862..d5e411ff005 100644 --- a/src/sage/misc/lazy_format.py +++ b/src/sage/misc/lazy_format.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Lazy format strings """ diff --git a/src/sage/misc/lazy_import.pyx b/src/sage/misc/lazy_import.pyx index 79eda9dec43..96183640a6c 100644 --- a/src/sage/misc/lazy_import.pyx +++ b/src/sage/misc/lazy_import.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Lazy imports diff --git a/src/sage/misc/lazy_import_cache.py b/src/sage/misc/lazy_import_cache.py index d47b6d5edfd..7ae240e8ee0 100644 --- a/src/sage/misc/lazy_import_cache.py +++ b/src/sage/misc/lazy_import_cache.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Lazy import cache """ diff --git a/src/sage/misc/lazy_string.pxd b/src/sage/misc/lazy_string.pxd index 7f7354e03ca..aa8faae784e 100644 --- a/src/sage/misc/lazy_string.pxd +++ b/src/sage/misc/lazy_string.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects cdef class _LazyString(): cdef func cdef args diff --git a/src/sage/misc/lazy_string.pyx b/src/sage/misc/lazy_string.pyx index 0d313efed0a..1af6efd42ee 100644 --- a/src/sage/misc/lazy_string.pyx +++ b/src/sage/misc/lazy_string.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Lazy strings diff --git a/src/sage/misc/misc.py b/src/sage/misc/misc.py index cb049665766..9c5178526ba 100644 --- a/src/sage/misc/misc.py +++ b/src/sage/misc/misc.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Miscellaneous functions diff --git a/src/sage/misc/misc_c.pxd b/src/sage/misc/misc_c.pxd index acb36ab6d99..ad553008767 100644 --- a/src/sage/misc/misc_c.pxd +++ b/src/sage/misc/misc_c.pxd @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-objects cpdef list normalize_index(object key, int size) diff --git a/src/sage/misc/misc_c.pyx b/src/sage/misc/misc_c.pyx index 56e7a323258..be5e05e441b 100644 --- a/src/sage/misc/misc_c.pyx +++ b/src/sage/misc/misc_c.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Miscellaneous functions (Cython) diff --git a/src/sage/misc/namespace_package.py b/src/sage/misc/namespace_package.py index eaa05bdfd71..61ba9e25727 100644 --- a/src/sage/misc/namespace_package.py +++ b/src/sage/misc/namespace_package.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Utility functions for namespace packages in Sage """ diff --git a/src/sage/misc/nested_class.pxd b/src/sage/misc/nested_class.pxd index ac64c28422e..ce96f44df8e 100644 --- a/src/sage/misc/nested_class.pxd +++ b/src/sage/misc/nested_class.pxd @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-objects cdef class NestedClassMetaclass(type): pass diff --git a/src/sage/misc/nested_class.pyx b/src/sage/misc/nested_class.pyx index 97ed312b08c..637d4c9c792 100644 --- a/src/sage/misc/nested_class.pyx +++ b/src/sage/misc/nested_class.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Fixing pickle for nested classes diff --git a/src/sage/misc/package.py b/src/sage/misc/package.py index a97ad023590..07475580024 100644 --- a/src/sage/misc/package.py +++ b/src/sage/misc/package.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Listing Sage packages diff --git a/src/sage/misc/persist.pyx b/src/sage/misc/persist.pyx index 3e56e249d45..51be391958f 100644 --- a/src/sage/misc/persist.pyx +++ b/src/sage/misc/persist.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # cython: old_style_globals=True # The old_style_globals directive is important for load() to work correctly. # However, this should be removed in favor of user_globals; see diff --git a/src/sage/misc/prandom.py b/src/sage/misc/prandom.py index 800ed60aedd..e49bf2af7ea 100644 --- a/src/sage/misc/prandom.py +++ b/src/sage/misc/prandom.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Random Numbers with Python API diff --git a/src/sage/misc/randstate.pxd b/src/sage/misc/randstate.pxd index fc5e955eb79..1e882164901 100644 --- a/src/sage/misc/randstate.pxd +++ b/src/sage/misc/randstate.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.libs.gmp.types cimport gmp_randstate_t # The c_random() method on randstate objects gives a value diff --git a/src/sage/misc/randstate.pyx b/src/sage/misc/randstate.pyx index 5809e4d7cb4..6e909df0a9f 100644 --- a/src/sage/misc/randstate.pyx +++ b/src/sage/misc/randstate.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # sage.doctest: needs sage.groups sage.libs.gap sage.libs.ntl sage.libs.pari r""" Random Number States diff --git a/src/sage/misc/repr.py b/src/sage/misc/repr.py index e6dc42d56a3..656319e0683 100644 --- a/src/sage/misc/repr.py +++ b/src/sage/misc/repr.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Repr formatting support """ diff --git a/src/sage/misc/sage_eval.py b/src/sage/misc/sage_eval.py index ec6d94543f9..3f0a62931d6 100644 --- a/src/sage/misc/sage_eval.py +++ b/src/sage/misc/sage_eval.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Evaluating a String in Sage """ diff --git a/src/sage/misc/sage_input.py b/src/sage/misc/sage_input.py index fcb271a7f75..104fcc800fb 100644 --- a/src/sage/misc/sage_input.py +++ b/src/sage/misc/sage_input.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Sage Input Formatting diff --git a/src/sage/misc/sage_unittest.py b/src/sage/misc/sage_unittest.py index 21298f2f6e0..3aeb08400a7 100644 --- a/src/sage/misc/sage_unittest.py +++ b/src/sage/misc/sage_unittest.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Unit testing for Sage objects """ diff --git a/src/sage/misc/sagedoc.py b/src/sage/misc/sagedoc.py index 68a2af4625d..2667062849e 100644 --- a/src/sage/misc/sagedoc.py +++ b/src/sage/misc/sagedoc.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Format Sage documentation for viewing with IPython and the notebook diff --git a/src/sage/misc/sageinspect.py b/src/sage/misc/sageinspect.py index d370789a67f..4769c3f7029 100644 --- a/src/sage/misc/sageinspect.py +++ b/src/sage/misc/sageinspect.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Inspect Python, Sage, and Cython objects diff --git a/src/sage/misc/superseded.py b/src/sage/misc/superseded.py index f646c24e485..820983e9a85 100644 --- a/src/sage/misc/superseded.py +++ b/src/sage/misc/superseded.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Handling Superseded Functionality diff --git a/src/sage/misc/temporary_file.py b/src/sage/misc/temporary_file.py index d761fbd4cc3..543645c532a 100644 --- a/src/sage/misc/temporary_file.py +++ b/src/sage/misc/temporary_file.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment """ Temporary file handling diff --git a/src/sage/misc/timing.py b/src/sage/misc/timing.py index c66c8521121..fafe2a44f2b 100644 --- a/src/sage/misc/timing.py +++ b/src/sage/misc/timing.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Timing functions """ diff --git a/src/sage/misc/unknown.py b/src/sage/misc/unknown.py index b87a3e67506..7c4e71a5f18 100644 --- a/src/sage/misc/unknown.py +++ b/src/sage/misc/unknown.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ The Unknown truth value diff --git a/src/sage/misc/verbose.py b/src/sage/misc/verbose.py index 184f8d10053..2c186b445aa 100644 --- a/src/sage/misc/verbose.py +++ b/src/sage/misc/verbose.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Verbosity System and Logging in SageMath diff --git a/src/sage/misc/viewer.py b/src/sage/misc/viewer.py index 85ff09aa341..caca6647acf 100644 --- a/src/sage/misc/viewer.py +++ b/src/sage/misc/viewer.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment r""" Determination of programs for viewing web pages, etc. diff --git a/src/sage/misc/weak_dict.pxd b/src/sage/misc/weak_dict.pxd index f1e85012be7..7be392b79f3 100644 --- a/src/sage/misc/weak_dict.pxd +++ b/src/sage/misc/weak_dict.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects cdef class WeakValueDictionary(dict): cdef __weakref__ cdef callback diff --git a/src/sage/misc/weak_dict.pyx b/src/sage/misc/weak_dict.pyx index d806335d0e9..f4b20c0fcd1 100644 --- a/src/sage/misc/weak_dict.pyx +++ b/src/sage/misc/weak_dict.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Fast and safe weak value dictionary diff --git a/src/sage/repl/__init__.py b/src/sage/repl/__init__.py index 1357b584ef3..dfa0bd2e536 100644 --- a/src/sage/repl/__init__.py +++ b/src/sage/repl/__init__.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl # IPython calls this when "%load_ext sage.repl" is used. # The Sage application loads it when starting up. def load_ipython_extension(*args): diff --git a/src/sage/repl/all.py b/src/sage/repl/all.py index 96fd6de5f6d..c45fa0aae88 100644 --- a/src/sage/repl/all.py +++ b/src/sage/repl/all.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl from sage.misc.lazy_import import lazy_import from sage.repl.preparse import preparse, implicit_multiplication diff --git a/src/sage/repl/attach.py b/src/sage/repl/attach.py index f0d98d8a164..4efc94f5cac 100644 --- a/src/sage/repl/attach.py +++ b/src/sage/repl/attach.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Keep track of attached files diff --git a/src/sage/repl/configuration.py b/src/sage/repl/configuration.py index 90df44bdf81..ad0870cca2e 100644 --- a/src/sage/repl/configuration.py +++ b/src/sage/repl/configuration.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Sage's IPython Configuration diff --git a/src/sage/repl/display/__init__.py b/src/sage/repl/display/__init__.py index e69de29bb2d..62acb4df510 100644 --- a/src/sage/repl/display/__init__.py +++ b/src/sage/repl/display/__init__.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-repl diff --git a/src/sage/repl/display/fancy_repr.py b/src/sage/repl/display/fancy_repr.py index 50b5261bbe8..c2e88af33f0 100644 --- a/src/sage/repl/display/fancy_repr.py +++ b/src/sage/repl/display/fancy_repr.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Representations of objects """ diff --git a/src/sage/repl/display/formatter.py b/src/sage/repl/display/formatter.py index dc1e6c06024..9d6eaf53894 100644 --- a/src/sage/repl/display/formatter.py +++ b/src/sage/repl/display/formatter.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" IPython Displayhook Formatters diff --git a/src/sage/repl/display/jsmol_iframe.py b/src/sage/repl/display/jsmol_iframe.py index f8e69cfcb59..1d1c9c8fb55 100644 --- a/src/sage/repl/display/jsmol_iframe.py +++ b/src/sage/repl/display/jsmol_iframe.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ HTML Generator for JSmol diff --git a/src/sage/repl/display/pretty_print.py b/src/sage/repl/display/pretty_print.py index 7ecaa1bde45..99bbe5013d0 100644 --- a/src/sage/repl/display/pretty_print.py +++ b/src/sage/repl/display/pretty_print.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ The Sage pretty printer diff --git a/src/sage/repl/display/util.py b/src/sage/repl/display/util.py index 14b243ee742..8fcc6569a3a 100644 --- a/src/sage/repl/display/util.py +++ b/src/sage/repl/display/util.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Utility functions for pretty-printing diff --git a/src/sage/repl/image.py b/src/sage/repl/image.py index 172d1bba7cc..500e60d97b0 100644 --- a/src/sage/repl/image.py +++ b/src/sage/repl/image.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Sage Wrapper for Bitmap Images diff --git a/src/sage/repl/inputhook.py b/src/sage/repl/inputhook.py index 8d79110ebbf..99fb4a0c871 100644 --- a/src/sage/repl/inputhook.py +++ b/src/sage/repl/inputhook.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ The Sage Input Hook diff --git a/src/sage/repl/interface_magic.py b/src/sage/repl/interface_magic.py index b77bc09e972..b60355f5cae 100644 --- a/src/sage/repl/interface_magic.py +++ b/src/sage/repl/interface_magic.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Magics for each of the Sage interfaces diff --git a/src/sage/repl/interpreter.py b/src/sage/repl/interpreter.py index abd2c4fcad1..84af28f8cf7 100644 --- a/src/sage/repl/interpreter.py +++ b/src/sage/repl/interpreter.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Sage's IPython Modifications diff --git a/src/sage/repl/ipython_extension.py b/src/sage/repl/ipython_extension.py index f9b165847d8..a7fccf9aa99 100644 --- a/src/sage/repl/ipython_extension.py +++ b/src/sage/repl/ipython_extension.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Sage's IPython Extension diff --git a/src/sage/repl/ipython_kernel/__init__.py b/src/sage/repl/ipython_kernel/__init__.py index e69de29bb2d..62acb4df510 100644 --- a/src/sage/repl/ipython_kernel/__init__.py +++ b/src/sage/repl/ipython_kernel/__init__.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-repl diff --git a/src/sage/repl/ipython_kernel/__main__.py b/src/sage/repl/ipython_kernel/__main__.py index a1657263bee..8f575facf67 100644 --- a/src/sage/repl/ipython_kernel/__main__.py +++ b/src/sage/repl/ipython_kernel/__main__.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl from ipykernel.kernelapp import IPKernelApp from sage.repl.ipython_kernel.kernel import SageKernel IPKernelApp.launch_instance(kernel_class=SageKernel) diff --git a/src/sage/repl/ipython_kernel/all_jupyter.py b/src/sage/repl/ipython_kernel/all_jupyter.py index 3e6eca3e004..2d2677da27d 100644 --- a/src/sage/repl/ipython_kernel/all_jupyter.py +++ b/src/sage/repl/ipython_kernel/all_jupyter.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ All imports for Jupyter """ diff --git a/src/sage/repl/ipython_kernel/install.py b/src/sage/repl/ipython_kernel/install.py index 9b5ab3486c7..d4feb9e06a3 100644 --- a/src/sage/repl/ipython_kernel/install.py +++ b/src/sage/repl/ipython_kernel/install.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Installing the SageMath Jupyter Kernel and Extensions diff --git a/src/sage/repl/ipython_kernel/interact.py b/src/sage/repl/ipython_kernel/interact.py index 884fba367e8..f62cf420fc1 100644 --- a/src/sage/repl/ipython_kernel/interact.py +++ b/src/sage/repl/ipython_kernel/interact.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Interacts for the Sage Jupyter notebook diff --git a/src/sage/repl/ipython_kernel/kernel.py b/src/sage/repl/ipython_kernel/kernel.py index 7ce23a83f02..a9931f8b9cf 100644 --- a/src/sage/repl/ipython_kernel/kernel.py +++ b/src/sage/repl/ipython_kernel/kernel.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ The Sage ZMQ Kernel diff --git a/src/sage/repl/ipython_kernel/widgets.py b/src/sage/repl/ipython_kernel/widgets.py index 14c879373a5..93498c7e09a 100644 --- a/src/sage/repl/ipython_kernel/widgets.py +++ b/src/sage/repl/ipython_kernel/widgets.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Widgets to be used for the Sage Jupyter notebook diff --git a/src/sage/repl/ipython_kernel/widgets_sagenb.py b/src/sage/repl/ipython_kernel/widgets_sagenb.py index 61302dc4b7a..4d3b1dbdedc 100644 --- a/src/sage/repl/ipython_kernel/widgets_sagenb.py +++ b/src/sage/repl/ipython_kernel/widgets_sagenb.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Functions to construct widgets, based on the old SageNB interface. diff --git a/src/sage/repl/ipython_tests.py b/src/sage/repl/ipython_tests.py index 74a76c84d68..5070fc4fb35 100644 --- a/src/sage/repl/ipython_tests.py +++ b/src/sage/repl/ipython_tests.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl ''' Tests for the IPython integration diff --git a/src/sage/repl/load.py b/src/sage/repl/load.py index 2d93214cc12..c7c014d2f8b 100644 --- a/src/sage/repl/load.py +++ b/src/sage/repl/load.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ Load Python, Sage, Cython, Fortran and Magma files in Sage """ diff --git a/src/sage/repl/preparse.py b/src/sage/repl/preparse.py index 63b95dbfd51..6b3128a94e7 100644 --- a/src/sage/repl/preparse.py +++ b/src/sage/repl/preparse.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ The Sage Preparser diff --git a/src/sage/repl/prompts.py b/src/sage/repl/prompts.py index 4bc2cae68e6..5b1c66bb6f2 100644 --- a/src/sage/repl/prompts.py +++ b/src/sage/repl/prompts.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Sage Commandline Prompts """ diff --git a/src/sage/repl/rich_output/__init__.py b/src/sage/repl/rich_output/__init__.py index 3a1b273112c..558cd47d827 100644 --- a/src/sage/repl/rich_output/__init__.py +++ b/src/sage/repl/rich_output/__init__.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl from .display_manager import get_display_manager from .pretty_print import pretty_print diff --git a/src/sage/repl/rich_output/backend_base.py b/src/sage/repl/rich_output/backend_base.py index 44a9f57087b..98da01836cc 100644 --- a/src/sage/repl/rich_output/backend_base.py +++ b/src/sage/repl/rich_output/backend_base.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Base Class for Backends diff --git a/src/sage/repl/rich_output/backend_doctest.py b/src/sage/repl/rich_output/backend_doctest.py index 570ff8955e9..430579f3f19 100644 --- a/src/sage/repl/rich_output/backend_doctest.py +++ b/src/sage/repl/rich_output/backend_doctest.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ The backend used for doctests diff --git a/src/sage/repl/rich_output/backend_emacs.py b/src/sage/repl/rich_output/backend_emacs.py index c06cc255a89..52e098720c4 100644 --- a/src/sage/repl/rich_output/backend_emacs.py +++ b/src/sage/repl/rich_output/backend_emacs.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Emacs sage-mode Backend for the Sage Rich Output System diff --git a/src/sage/repl/rich_output/backend_ipython.py b/src/sage/repl/rich_output/backend_ipython.py index 39c93cb8446..1fe536762d1 100644 --- a/src/sage/repl/rich_output/backend_ipython.py +++ b/src/sage/repl/rich_output/backend_ipython.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl """ IPython Backend for the Sage Rich Output System diff --git a/src/sage/repl/rich_output/buffer.py b/src/sage/repl/rich_output/buffer.py index a0e7e435c10..19681fd1dc9 100644 --- a/src/sage/repl/rich_output/buffer.py +++ b/src/sage/repl/rich_output/buffer.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Output Buffer diff --git a/src/sage/repl/rich_output/display_manager.py b/src/sage/repl/rich_output/display_manager.py index 398de4a3369..1a3bb46ee1d 100644 --- a/src/sage/repl/rich_output/display_manager.py +++ b/src/sage/repl/rich_output/display_manager.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Display Manager diff --git a/src/sage/repl/rich_output/output_basic.py b/src/sage/repl/rich_output/output_basic.py index c690f3599ab..ea538ca5c96 100644 --- a/src/sage/repl/rich_output/output_basic.py +++ b/src/sage/repl/rich_output/output_basic.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Basic Output Types diff --git a/src/sage/repl/rich_output/output_browser.py b/src/sage/repl/rich_output/output_browser.py index fe58ab961e2..00072c96030 100644 --- a/src/sage/repl/rich_output/output_browser.py +++ b/src/sage/repl/rich_output/output_browser.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Rich Output for the Browser """ diff --git a/src/sage/repl/rich_output/output_catalog.py b/src/sage/repl/rich_output/output_catalog.py index 5b27bee503c..542182eee69 100644 --- a/src/sage/repl/rich_output/output_catalog.py +++ b/src/sage/repl/rich_output/output_catalog.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Catalog of all available output container types. diff --git a/src/sage/repl/rich_output/output_graphics.py b/src/sage/repl/rich_output/output_graphics.py index c8d6dc55ed0..d8c29c553a7 100644 --- a/src/sage/repl/rich_output/output_graphics.py +++ b/src/sage/repl/rich_output/output_graphics.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Graphics Output Types diff --git a/src/sage/repl/rich_output/output_graphics3d.py b/src/sage/repl/rich_output/output_graphics3d.py index 77f7020e13b..3cf42fafb4a 100644 --- a/src/sage/repl/rich_output/output_graphics3d.py +++ b/src/sage/repl/rich_output/output_graphics3d.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Three-Dimensional Graphics Output Types diff --git a/src/sage/repl/rich_output/output_video.py b/src/sage/repl/rich_output/output_video.py index 6a5914e7f8d..5171ac058ae 100644 --- a/src/sage/repl/rich_output/output_video.py +++ b/src/sage/repl/rich_output/output_video.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Video Output Types diff --git a/src/sage/repl/rich_output/preferences.py b/src/sage/repl/rich_output/preferences.py index 42fab710af4..ca32aa1ea81 100644 --- a/src/sage/repl/rich_output/preferences.py +++ b/src/sage/repl/rich_output/preferences.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Display Preferences diff --git a/src/sage/repl/rich_output/pretty_print.py b/src/sage/repl/rich_output/pretty_print.py index d64ac7ebeb3..00b0c75465d 100644 --- a/src/sage/repl/rich_output/pretty_print.py +++ b/src/sage/repl/rich_output/pretty_print.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" The ``pretty_print`` command diff --git a/src/sage/repl/rich_output/test_backend.py b/src/sage/repl/rich_output/test_backend.py index 2496d6ee6aa..a08d75624e1 100644 --- a/src/sage/repl/rich_output/test_backend.py +++ b/src/sage/repl/rich_output/test_backend.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl r""" Test Backend diff --git a/src/sage/repl/user_globals.py b/src/sage/repl/user_globals.py index 75686da1a55..d39b1dd9aad 100644 --- a/src/sage/repl/user_globals.py +++ b/src/sage/repl/user_globals.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-repl # sage.doctest: needs sage.modules r""" User-interface globals diff --git a/src/sage/rings/all__sagemath_categories.py b/src/sage/rings/all__sagemath_categories.py index d03d1c6b483..4c0efe7b507 100644 --- a/src/sage/rings/all__sagemath_categories.py +++ b/src/sage/rings/all__sagemath_categories.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories # Ring base classes from sage.rings.ring import Ring # Ideals diff --git a/src/sage/rings/all__sagemath_objects.py b/src/sage/rings/all__sagemath_objects.py index 38e44245ad3..40da49fdd73 100644 --- a/src/sage/rings/all__sagemath_objects.py +++ b/src/sage/rings/all__sagemath_objects.py @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-objects # The presence of this file ensures that sage_setup for sagemath-objects # considers this directory as a namespace package diff --git a/src/sage/rings/ideal.py b/src/sage/rings/ideal.py index f463a7f31d5..0fff6829d6b 100644 --- a/src/sage/rings/ideal.py +++ b/src/sage/rings/ideal.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Ideals of commutative rings diff --git a/src/sage/rings/integer_fake.pxd b/src/sage/rings/integer_fake.pxd index 2bd7a91142e..73e9d802462 100644 --- a/src/sage/rings/integer_fake.pxd +++ b/src/sage/rings/integer_fake.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Fake Integer interface diff --git a/src/sage/rings/ring.pxd b/src/sage/rings/ring.pxd index cf5399b66d9..726f571161f 100644 --- a/src/sage/rings/ring.pxd +++ b/src/sage/rings/ring.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories from sage.structure.parent_gens cimport ParentWithGens cpdef bint _is_Field(x) except -2 diff --git a/src/sage/rings/ring.pyx b/src/sage/rings/ring.pyx index c4c633ba42b..f1aab8ba4b6 100644 --- a/src/sage/rings/ring.pyx +++ b/src/sage/rings/ring.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Rings diff --git a/src/sage/sets/all__sagemath_objects.py b/src/sage/sets/all__sagemath_objects.py index 38e44245ad3..40da49fdd73 100644 --- a/src/sage/sets/all__sagemath_objects.py +++ b/src/sage/sets/all__sagemath_objects.py @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-objects # The presence of this file ensures that sage_setup for sagemath-objects # considers this directory as a namespace package diff --git a/src/sage/sets/pythonclass.pxd b/src/sage/sets/pythonclass.pxd index 4346d918386..cb59baca759 100644 --- a/src/sage/sets/pythonclass.pxd +++ b/src/sage/sets/pythonclass.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.structure.parent cimport Set_generic diff --git a/src/sage/sets/pythonclass.pyx b/src/sage/sets/pythonclass.pyx index bfa7f3bc617..7b75bd7bf26 100644 --- a/src/sage/sets/pythonclass.pyx +++ b/src/sage/sets/pythonclass.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Set of all objects of a given Python class """ diff --git a/src/sage/structure/__init__.py b/src/sage/structure/__init__.py index 8689eb1717f..bf977ccc379 100644 --- a/src/sage/structure/__init__.py +++ b/src/sage/structure/__init__.py @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-objects # Resolve a cyclic import import sage.structure.element diff --git a/src/sage/structure/all.py b/src/sage/structure/all.py index df0114c8382..b54188b9a6f 100644 --- a/src/sage/structure/all.py +++ b/src/sage/structure/all.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.structure.factorization import Factorization from sage.structure.sequence import Sequence, seq diff --git a/src/sage/structure/category_object.pxd b/src/sage/structure/category_object.pxd index 83d3d4967d4..0f629e245ac 100644 --- a/src/sage/structure/category_object.pxd +++ b/src/sage/structure/category_object.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects #***************************************************************************** # Copyright (C) 2006 William Stein # diff --git a/src/sage/structure/category_object.pyx b/src/sage/structure/category_object.pyx index f7e8c4f6d11..3a7d6e7204e 100644 --- a/src/sage/structure/category_object.pyx +++ b/src/sage/structure/category_object.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # cython: old_style_globals=True r""" Base class for objects of a category diff --git a/src/sage/structure/coerce.pxd b/src/sage/structure/coerce.pxd index 71d519cf185..0d2cd13f1d8 100644 --- a/src/sage/structure/coerce.pxd +++ b/src/sage/structure/coerce.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.structure.parent cimport Parent from sage.structure.coerce_dict cimport TripleDict diff --git a/src/sage/structure/coerce.pyx b/src/sage/structure/coerce.pyx index 26b9ee77cd7..dfbd5ff82fa 100644 --- a/src/sage/structure/coerce.pyx +++ b/src/sage/structure/coerce.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" The coercion model diff --git a/src/sage/structure/coerce_actions.pxd b/src/sage/structure/coerce_actions.pxd index 81a52ff5ad6..dc681f5a075 100644 --- a/src/sage/structure/coerce_actions.pxd +++ b/src/sage/structure/coerce_actions.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.categories.action cimport Action from sage.categories.map cimport Map diff --git a/src/sage/structure/coerce_actions.pyx b/src/sage/structure/coerce_actions.pyx index 4d7975429e9..2a9c56174e7 100644 --- a/src/sage/structure/coerce_actions.pyx +++ b/src/sage/structure/coerce_actions.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Coerce actions """ diff --git a/src/sage/structure/coerce_dict.pxd b/src/sage/structure/coerce_dict.pxd index 2f7f8d3aef4..13d9e3ad0f1 100644 --- a/src/sage/structure/coerce_dict.pxd +++ b/src/sage/structure/coerce_dict.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects cimport cython from cpython.object cimport PyObject diff --git a/src/sage/structure/coerce_dict.pyx b/src/sage/structure/coerce_dict.pyx index bdec7ec97cd..ce9ea7811b5 100644 --- a/src/sage/structure/coerce_dict.pyx +++ b/src/sage/structure/coerce_dict.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Containers for storing coercion data diff --git a/src/sage/structure/coerce_exceptions.py b/src/sage/structure/coerce_exceptions.py index 5859831e4fa..e60984f25ee 100644 --- a/src/sage/structure/coerce_exceptions.py +++ b/src/sage/structure/coerce_exceptions.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects "Exceptions raised by the coercion model" ############################################################################### diff --git a/src/sage/structure/coerce_maps.pxd b/src/sage/structure/coerce_maps.pxd index 0afc1a96adb..cf8e1f6f51a 100644 --- a/src/sage/structure/coerce_maps.pxd +++ b/src/sage/structure/coerce_maps.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.categories.map cimport Map diff --git a/src/sage/structure/coerce_maps.pyx b/src/sage/structure/coerce_maps.pyx index d056f426bde..2162ba7023b 100644 --- a/src/sage/structure/coerce_maps.pyx +++ b/src/sage/structure/coerce_maps.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Coerce maps """ diff --git a/src/sage/structure/debug_options.pxd b/src/sage/structure/debug_options.pxd index 55db2332ed4..42a3411e76b 100644 --- a/src/sage/structure/debug_options.pxd +++ b/src/sage/structure/debug_options.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects cdef class DebugOptions_class: cdef public bint unique_parent_warnings cdef public bint refine_category_hash_check diff --git a/src/sage/structure/debug_options.pyx b/src/sage/structure/debug_options.pyx index 05d7835f869..3afe5ca835a 100644 --- a/src/sage/structure/debug_options.pyx +++ b/src/sage/structure/debug_options.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Debug options for the :mod:`sage.structure` modules diff --git a/src/sage/structure/dynamic_class.py b/src/sage/structure/dynamic_class.py index f8df20a02ae..51a2c333186 100644 --- a/src/sage/structure/dynamic_class.py +++ b/src/sage/structure/dynamic_class.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Dynamic classes diff --git a/src/sage/structure/element.pxd b/src/sage/structure/element.pxd index 2d360905783..cc1bf225710 100644 --- a/src/sage/structure/element.pxd +++ b/src/sage/structure/element.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.structure.sage_object cimport SageObject from sage.structure.parent cimport Parent from sage.misc.inherit_comparison cimport InheritComparisonMetaclass diff --git a/src/sage/structure/element.pyx b/src/sage/structure/element.pyx index bb50fbb2b9b..e3c2ef47a4c 100644 --- a/src/sage/structure/element.pyx +++ b/src/sage/structure/element.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # Compile this with -Os because it works around a bug with # GCC-4.7.3 + Cython 0.19 on Itanium, see Issue #14452. Moreover, it # actually results in faster code than -O3. diff --git a/src/sage/structure/element_wrapper.pxd b/src/sage/structure/element_wrapper.pxd index f8689c57947..dda6630c84d 100644 --- a/src/sage/structure/element_wrapper.pxd +++ b/src/sage/structure/element_wrapper.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from sage.structure.element cimport Element diff --git a/src/sage/structure/element_wrapper.pyx b/src/sage/structure/element_wrapper.pyx index f0e9810768f..f7fc4e38bad 100644 --- a/src/sage/structure/element_wrapper.pyx +++ b/src/sage/structure/element_wrapper.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Element Wrapper diff --git a/src/sage/structure/factorization.py b/src/sage/structure/factorization.py index d17480fc6aa..21c417fed4b 100644 --- a/src/sage/structure/factorization.py +++ b/src/sage/structure/factorization.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Factorizations diff --git a/src/sage/structure/factorization_integer.py b/src/sage/structure/factorization_integer.py index 139a3580e48..542daf538dd 100644 --- a/src/sage/structure/factorization_integer.py +++ b/src/sage/structure/factorization_integer.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects "IntegerFactorization objects" from sage.structure.factorization import Factorization diff --git a/src/sage/structure/factory.pyx b/src/sage/structure/factory.pyx index 12fe812c50d..fad9c210708 100644 --- a/src/sage/structure/factory.pyx +++ b/src/sage/structure/factory.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Factory for cached representations diff --git a/src/sage/structure/formal_sum.py b/src/sage/structure/formal_sum.py index 93f65c1f0e5..82af37bc2b2 100644 --- a/src/sage/structure/formal_sum.py +++ b/src/sage/structure/formal_sum.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Formal sums diff --git a/src/sage/structure/gens_py.py b/src/sage/structure/gens_py.py index 22555a74c92..6d3fcae2520 100644 --- a/src/sage/structure/gens_py.py +++ b/src/sage/structure/gens_py.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Pure python code for abstract base class for objects with generators """ diff --git a/src/sage/structure/global_options.py b/src/sage/structure/global_options.py index ce188a58f21..3d11beb1da7 100644 --- a/src/sage/structure/global_options.py +++ b/src/sage/structure/global_options.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Global options diff --git a/src/sage/structure/indexed_generators.py b/src/sage/structure/indexed_generators.py index 1afb2e86065..909e44aad7e 100644 --- a/src/sage/structure/indexed_generators.py +++ b/src/sage/structure/indexed_generators.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Indexed Generators """ diff --git a/src/sage/structure/list_clone.pxd b/src/sage/structure/list_clone.pxd index ef1d20f4bd3..4366d7494e3 100644 --- a/src/sage/structure/list_clone.pxd +++ b/src/sage/structure/list_clone.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects #***************************************************************************** # Copyright (C) 2009-2010 Florent Hivert # diff --git a/src/sage/structure/list_clone.pyx b/src/sage/structure/list_clone.pyx index 533b10a43e1..59405839aea 100644 --- a/src/sage/structure/list_clone.pyx +++ b/src/sage/structure/list_clone.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Elements, Array and Lists With Clone Protocol diff --git a/src/sage/structure/list_clone_demo.pyx b/src/sage/structure/list_clone_demo.pyx index 1b7118880fc..4899bcf5cc2 100644 --- a/src/sage/structure/list_clone_demo.pyx +++ b/src/sage/structure/list_clone_demo.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Elements, Array and Lists With Clone Protocol, demonstration classes diff --git a/src/sage/structure/list_clone_timings.py b/src/sage/structure/list_clone_timings.py index 117463eb908..05320d6bc77 100644 --- a/src/sage/structure/list_clone_timings.py +++ b/src/sage/structure/list_clone_timings.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Performance Test for Clone Protocol diff --git a/src/sage/structure/list_clone_timings_cy.pyx b/src/sage/structure/list_clone_timings_cy.pyx index 46152f1e68b..87039d3f94a 100644 --- a/src/sage/structure/list_clone_timings_cy.pyx +++ b/src/sage/structure/list_clone_timings_cy.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Cython Functions for Timing Clone Protocol """ diff --git a/src/sage/structure/mutability.pxd b/src/sage/structure/mutability.pxd index f5df8b89892..bb16ece621c 100644 --- a/src/sage/structure/mutability.pxd +++ b/src/sage/structure/mutability.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Mutability -- Pyrex Implementation """ @@ -17,4 +18,4 @@ cdef class Mutability: cpdef _require_mutable(self) cpdef _require_immutable(self) cpdef bint is_immutable(self) noexcept - cpdef bint is_mutable(self) noexcept \ No newline at end of file + cpdef bint is_mutable(self) noexcept diff --git a/src/sage/structure/mutability.pyx b/src/sage/structure/mutability.pyx index 07b30013ebb..db6a331fa4c 100644 --- a/src/sage/structure/mutability.pyx +++ b/src/sage/structure/mutability.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Mutability Cython Implementation """ diff --git a/src/sage/structure/nonexact.py b/src/sage/structure/nonexact.py index ffb39e5f579..cef7a641f26 100644 --- a/src/sage/structure/nonexact.py +++ b/src/sage/structure/nonexact.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Precision management for non-exact objects diff --git a/src/sage/structure/parent.pxd b/src/sage/structure/parent.pxd index 1635ef8b36e..691bd78eb2a 100644 --- a/src/sage/structure/parent.pxd +++ b/src/sage/structure/parent.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects #***************************************************************************** # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/src/sage/structure/parent.pyx b/src/sage/structure/parent.pyx index c775be1a023..c8ec84ecbc0 100644 --- a/src/sage/structure/parent.pyx +++ b/src/sage/structure/parent.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Base class for parent objects diff --git a/src/sage/structure/parent_base.pxd b/src/sage/structure/parent_base.pxd index 8ffac64eff2..3683c39d827 100644 --- a/src/sage/structure/parent_base.pxd +++ b/src/sage/structure/parent_base.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects ############################################################################### # Sage: Open Source Mathematical Software # Copyright (C) 2006 William Stein diff --git a/src/sage/structure/parent_base.pyx b/src/sage/structure/parent_base.pyx index b41175b5bff..7cef8f692c5 100644 --- a/src/sage/structure/parent_base.pyx +++ b/src/sage/structure/parent_base.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Base class for old-style parent objects with a base ring """ diff --git a/src/sage/structure/parent_gens.pxd b/src/sage/structure/parent_gens.pxd index cf3b416317f..573db0c52fa 100644 --- a/src/sage/structure/parent_gens.pxd +++ b/src/sage/structure/parent_gens.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Parent objects with generators """ diff --git a/src/sage/structure/parent_gens.pyx b/src/sage/structure/parent_gens.pyx index 3f69b9daee4..6f12c36670f 100644 --- a/src/sage/structure/parent_gens.pyx +++ b/src/sage/structure/parent_gens.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Base class for old-style parent objects with generators diff --git a/src/sage/structure/parent_old.pxd b/src/sage/structure/parent_old.pxd index 54bb4753970..6a26fba915e 100644 --- a/src/sage/structure/parent_old.pxd +++ b/src/sage/structure/parent_old.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects # **************************************************************************** # Copyright (C) 2006 William Stein # diff --git a/src/sage/structure/parent_old.pyx b/src/sage/structure/parent_old.pyx index 7b8ce70b5a5..a34928ff8a2 100644 --- a/src/sage/structure/parent_old.pyx +++ b/src/sage/structure/parent_old.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Base class for old-style parent objects diff --git a/src/sage/structure/proof/__init__.py b/src/sage/structure/proof/__init__.py index e69de29bb2d..f9b8167c3cd 100644 --- a/src/sage/structure/proof/__init__.py +++ b/src/sage/structure/proof/__init__.py @@ -0,0 +1 @@ +# sage_setup: distribution = sagemath-objects diff --git a/src/sage/structure/proof/all.py b/src/sage/structure/proof/all.py index 06295f79e80..d3a72dc1400 100644 --- a/src/sage/structure/proof/all.py +++ b/src/sage/structure/proof/all.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects def arithmetic(t=None): diff --git a/src/sage/structure/proof/proof.py b/src/sage/structure/proof/proof.py index 5f55e04fbb5..4a459551837 100644 --- a/src/sage/structure/proof/proof.py +++ b/src/sage/structure/proof/proof.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects "Global proof preferences" from sage.structure.sage_object import SageObject diff --git a/src/sage/structure/richcmp.pxd b/src/sage/structure/richcmp.pxd index 98bda696ec7..ecbeaef391e 100644 --- a/src/sage/structure/richcmp.pxd +++ b/src/sage/structure/richcmp.pxd @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects from libc.stdint cimport uint32_t from cpython.object cimport (Py_LT, Py_LE, Py_EQ, Py_NE, Py_GT, Py_GE, PyObject_RichCompare) diff --git a/src/sage/structure/richcmp.pyx b/src/sage/structure/richcmp.pyx index 465f16e8274..934a49e7600 100644 --- a/src/sage/structure/richcmp.pyx +++ b/src/sage/structure/richcmp.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Cython-like rich comparisons in Python diff --git a/src/sage/structure/sage_object.pxd b/src/sage/structure/sage_object.pxd index 5e3e442c896..40b753d1aa3 100644 --- a/src/sage/structure/sage_object.pxd +++ b/src/sage/structure/sage_object.pxd @@ -1,2 +1,3 @@ +# sage_setup: distribution = sagemath-objects cdef class SageObject: pass diff --git a/src/sage/structure/sage_object.pyx b/src/sage/structure/sage_object.pyx index e78c0b9a8bb..4c4bd56678e 100644 --- a/src/sage/structure/sage_object.pyx +++ b/src/sage/structure/sage_object.pyx @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Abstract base class for Sage objects """ diff --git a/src/sage/structure/sage_object_test.py b/src/sage/structure/sage_object_test.py index 721c1ad7719..644543e99f8 100644 --- a/src/sage/structure/sage_object_test.py +++ b/src/sage/structure/sage_object_test.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects import pytest from sage.structure.sage_object import SageObject diff --git a/src/sage/structure/sequence.py b/src/sage/structure/sequence.py index 92d464241e6..5bbcfc1798a 100644 --- a/src/sage/structure/sequence.py +++ b/src/sage/structure/sequence.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Finite Homogeneous Sequences diff --git a/src/sage/structure/set_factories.py b/src/sage/structure/set_factories.py index f8b8e3643c9..46d8870379c 100644 --- a/src/sage/structure/set_factories.py +++ b/src/sage/structure/set_factories.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Set factories ============= diff --git a/src/sage/structure/set_factories_example.py b/src/sage/structure/set_factories_example.py index df1d7d7f49c..8212f7ce525 100644 --- a/src/sage/structure/set_factories_example.py +++ b/src/sage/structure/set_factories_example.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" An example of set factory ========================= diff --git a/src/sage/structure/support_view.py b/src/sage/structure/support_view.py index 0778f2a47ed..bebae1a31f5 100644 --- a/src/sage/structure/support_view.py +++ b/src/sage/structure/support_view.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Iterable of the keys of a Mapping associated with nonzero values """ diff --git a/src/sage/structure/test_factory.py b/src/sage/structure/test_factory.py index 145311b9dd3..9835a06f909 100644 --- a/src/sage/structure/test_factory.py +++ b/src/sage/structure/test_factory.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects """ Test of the :mod:`~sage.structure.factory` module """ diff --git a/src/sage/structure/unique_representation.py b/src/sage/structure/unique_representation.py index bef7563001e..5dd5072b45f 100644 --- a/src/sage/structure/unique_representation.py +++ b/src/sage/structure/unique_representation.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-objects r""" Unique Representation diff --git a/src/sage/typeset/all.py b/src/sage/typeset/all.py index f2327dfdb20..66a4e73f80c 100644 --- a/src/sage/typeset/all.py +++ b/src/sage/typeset/all.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories from sage.misc.lazy_import import lazy_import lazy_import('sage.typeset.ascii_art', 'ascii_art') diff --git a/src/sage/typeset/ascii_art.py b/src/sage/typeset/ascii_art.py index 55e3291c531..28024405d27 100644 --- a/src/sage/typeset/ascii_art.py +++ b/src/sage/typeset/ascii_art.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" ASCII Art diff --git a/src/sage/typeset/character_art.py b/src/sage/typeset/character_art.py index 64151a2d3a0..389584f3bcf 100644 --- a/src/sage/typeset/character_art.py +++ b/src/sage/typeset/character_art.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Base Class for Character-Based Art diff --git a/src/sage/typeset/character_art_factory.py b/src/sage/typeset/character_art_factory.py index ea450c38da6..cbde3611858 100644 --- a/src/sage/typeset/character_art_factory.py +++ b/src/sage/typeset/character_art_factory.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Factory for Character-Based Art """ diff --git a/src/sage/typeset/symbols.py b/src/sage/typeset/symbols.py index 8265d852370..1701603b408 100644 --- a/src/sage/typeset/symbols.py +++ b/src/sage/typeset/symbols.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories """ Symbols for Character Art diff --git a/src/sage/typeset/unicode_art.py b/src/sage/typeset/unicode_art.py index 9a2dbf0fb76..1d8e0933b5b 100644 --- a/src/sage/typeset/unicode_art.py +++ b/src/sage/typeset/unicode_art.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Unicode Art diff --git a/src/sage/typeset/unicode_characters.py b/src/sage/typeset/unicode_characters.py index c4aa7bdd5fb..bedea90565c 100644 --- a/src/sage/typeset/unicode_characters.py +++ b/src/sage/typeset/unicode_characters.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-categories r""" Unicode Characters diff --git a/src/sage/version.py b/src/sage/version.py index 018677bbe04..4a015e25746 100644 --- a/src/sage/version.py +++ b/src/sage/version.py @@ -1,3 +1,4 @@ +# sage_setup: distribution = sagemath-environment # Sage version information for Python scripts # This file is auto-generated by the sage-update-version script, do not edit! version = '10.4.beta7' From 28b5a35a06bc47c5af2c097d2ddc61103cea2c3e Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sat, 25 May 2024 16:11:11 -0700 Subject: [PATCH 2/3] pkgs/sagemath-standard/setup.py: Include files marked with 'sage_setup: distribution = sagemath-{objects,categories,environment,repl}' --- pkgs/sagemath-standard/setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/sagemath-standard/setup.py b/pkgs/sagemath-standard/setup.py index 785923c5a0e..3c696857c83 100755 --- a/pkgs/sagemath-standard/setup.py +++ b/pkgs/sagemath-standard/setup.py @@ -73,7 +73,11 @@ print("Discovering Python/Cython source code....") t = time.time() from sage.misc.package import is_package_installed_and_updated -distributions = [''] +distributions = ['sagemath-categories', + 'sagemath-environment', + 'sagemath-objects', + 'sagemath-repl', + ''] optional_packages_with_extensions = os.environ.get('SAGE_OPTIONAL_PACKAGES_WITH_EXTENSIONS', '').split(',') distributions += ['sagemath-{}'.format(pkg) for pkg in optional_packages_with_extensions From 82dc5120d8620f2d16861dc6759596c3d6746378 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sat, 25 May 2024 19:02:22 -0700 Subject: [PATCH 3/3] Update self-referential doctests --- src/sage/doctest/forker.py | 12 ++++++------ src/sage/misc/abstract_method.py | 2 +- src/sage/misc/lazy_attribute.pyx | 2 +- src/sage/misc/sageinspect.py | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/sage/doctest/forker.py b/src/sage/doctest/forker.py index e56a68adac7..48b991316dd 100644 --- a/src/sage/doctest/forker.py +++ b/src/sage/doctest/forker.py @@ -1208,7 +1208,7 @@ def _failure_header(self, test, example, message='Failed example:'): sage: ex = doctests[0].examples[0] sage: print(DTR._failure_header(doctests[0], ex)) ********************************************************************** - File ".../sage/doctest/forker.py", line 11, in sage.doctest.forker + File ".../sage/doctest/forker.py", line 12, in sage.doctest.forker Failed example: doctest_var = 42; doctest_var^2 @@ -1218,7 +1218,7 @@ def _failure_header(self, test, example, message='Failed example:'): sage: import doctest sage: print(doctest.DocTestRunner._failure_header(DTR, doctests[0], ex)) ********************************************************************** - File ".../sage/doctest/forker.py", line 11, in sage.doctest.forker + File ".../sage/doctest/forker.py", line 12, in sage.doctest.forker Failed example: doctest_var = Integer(42); doctest_var**Integer(2) @@ -1227,7 +1227,7 @@ def _failure_header(self, test, example, message='Failed example:'): sage: print(DTR._failure_header(doctests[0], ex, message='Hello there!')) ********************************************************************** - File ".../sage/doctest/forker.py", line 11, in sage.doctest.forker + File ".../sage/doctest/forker.py", line 12, in sage.doctest.forker Hello there! doctest_var = 42; doctest_var^2 @@ -1318,7 +1318,7 @@ def report_start(self, out, test, example): sage: doctests, extras = FDS.create_doctests(globals()) sage: ex = doctests[0].examples[0] sage: DTR.report_start(sys.stdout.write, doctests[0], ex) - Trying (line 11): doctest_var = 42; doctest_var^2 + Trying (line 12): doctest_var = 42; doctest_var^2 Expecting: 1764 """ @@ -1413,7 +1413,7 @@ def report_failure(self, out, test, example, got, globs): sage: DTR.no_failure_yet = True sage: DTR.report_failure(sys.stdout.write, doctests[0], ex, 'BAD ANSWER\n', {}) ********************************************************************** - File ".../sage/doctest/forker.py", line 11, in sage.doctest.forker + File ".../sage/doctest/forker.py", line 12, in sage.doctest.forker Failed example: doctest_var = 42; doctest_var^2 Expected: @@ -1546,7 +1546,7 @@ def report_overtime(self, out, test, example, got, *, check_duration=0): sage: ex.walltime = 1.23 sage: DTR.report_overtime(sys.stdout.write, doctests[0], ex, 'BAD ANSWER\n', check_duration=2.34) ********************************************************************** - File ".../sage/doctest/forker.py", line 11, in sage.doctest.forker + File ".../sage/doctest/forker.py", line 12, in sage.doctest.forker Warning, slow doctest: doctest_var = 42; doctest_var^2 Test ran for 1.23 s, check ran for 2.34 s diff --git a/src/sage/misc/abstract_method.py b/src/sage/misc/abstract_method.py index 0d62313d27e..a169c455ef1 100644 --- a/src/sage/misc/abstract_method.py +++ b/src/sage/misc/abstract_method.py @@ -194,7 +194,7 @@ def _sage_src_lines_(self): sage: src[0] 'def version():\n' sage: lines - 18 + 19 """ from sage.misc.sageinspect import sage_getsourcelines return sage_getsourcelines(self._f) diff --git a/src/sage/misc/lazy_attribute.pyx b/src/sage/misc/lazy_attribute.pyx index bdadc27f0c8..4210fb7e081 100644 --- a/src/sage/misc/lazy_attribute.pyx +++ b/src/sage/misc/lazy_attribute.pyx @@ -88,7 +88,7 @@ cdef class _lazy_attribute(): sage: src[0] 'def banner():\n' sage: lines - 88 + 89 """ from sage.misc.sageinspect import sage_getsourcelines return sage_getsourcelines(self.f) diff --git a/src/sage/misc/sageinspect.py b/src/sage/misc/sageinspect.py index 4769c3f7029..f9783d9aae6 100644 --- a/src/sage/misc/sageinspect.py +++ b/src/sage/misc/sageinspect.py @@ -25,7 +25,7 @@ '.../sageinspect.py' sage: print(sage_getdoc(sage.misc.sageinspect).lstrip()[:40]) Inspect Python, Sage, and Cython objects - sage: sage_getsource(sage.misc.sageinspect).lstrip()[5:-1] + sage: sage_getsource(sage.misc.sageinspect).lstrip()[51:-1] 'Inspect Python, Sage, and Cython objects...' Test introspection of classes defined in Python and Cython files: