Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add # sage_setup: distribution directives for the files of existing distributions sagemath-{categories,...,tdlib} #38088

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion pkgs/sagemath-standard/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@
# TODO: This should be quiet by default
print("Discovering Python/Cython source code....")
t = time.time()
distributions = ['']
distributions = ['sagemath-categories',
'sagemath-environment',
'sagemath-objects',
'sagemath-repl',
'']
log.warn('distributions = {0}'.format(distributions))
from sage_setup.find import find_python_sources
python_packages, python_modules, cython_modules = find_python_sources(
Expand Down
1 change: 1 addition & 0 deletions src/sage/all__sagemath_categories.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
from sage.all__sagemath_objects import *

from sage.categories.all import *
Expand Down
1 change: 1 addition & 0 deletions src/sage/all__sagemath_environment.py
Original file line number Diff line number Diff line change
@@ -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 *
1 change: 1 addition & 0 deletions src/sage/all__sagemath_objects.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
import os
import sys
import operator
Expand Down
2 changes: 2 additions & 0 deletions src/sage/all__sagemath_repl.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# sage_setup: distribution = sagemath-repl

# Set up warning filters before importing Sage stuff

import sys
Expand Down
1 change: 1 addition & 0 deletions src/sage/arith/all__sagemath_objects.py
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions src/sage/arith/long.pxd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
# sage.doctest: needs sage.misc.cython
r"""
Fast conversion of Python objects to C long
Expand Down
1 change: 1 addition & 0 deletions src/sage/arith/numerical_approx.pxd
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
1 change: 1 addition & 0 deletions src/sage/arith/numerical_approx.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
# sage.doctest: needs sage.rings.real_mpfr
r"""
Generic numerical approximation function
Expand Down
1 change: 1 addition & 0 deletions src/sage/arith/power.pxd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
from cpython.number cimport PyNumber_TrueDivide
from sage.structure.element cimport Element

Expand Down
1 change: 1 addition & 0 deletions src/sage/arith/power.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
"""
Generic implementation of powering

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/action.pxd
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/action.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
r"""
Group, ring, etc. actions on objects

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/additive_groups.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Additive groups
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/additive_magmas.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Additive magmas
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/additive_monoids.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Additive monoids
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/additive_semigroups.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Additive semigroups
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/affine_weyl_groups.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Affine Weyl groups
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/algebra_functor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
# sage.doctest: needs sage.groups sage.modules
r"""
Group algebras and beyond: the Algebra functorial construction
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/algebra_ideals.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Algebra ideals
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/algebra_modules.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Algebra modules
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/algebras.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Algebras

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/algebras_with_basis.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Algebras With Basis
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/all.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Sage categories quickref

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/all__sagemath_objects.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/aperiodic_semigroups.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Aperiodic semigroups
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/associative_algebras.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Associative algebras
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/basic.py
Original file line number Diff line number Diff line change
@@ -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, ...).
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/bialgebras.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
# sage.doctest: needs sage.combinat
r"""
Bialgebras
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/bialgebras_with_basis.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Bialgebras with basis
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/bimodules.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Bimodules
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/cartesian_product.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
"""
Cartesian Product Functorial Construction

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/category.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
r"""
Categories

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/category_cy_helper.pxd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
cpdef tuple _sort_uniq(categories)
cdef class AxiomContainer(dict):
pass
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/category_cy_helper.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
"""
Fast functions for the category framework

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/category_singleton.pxd
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# sage_setup: distribution = sagemath-objects
cdef class Category_contains_method_by_parent_class:
cdef type _parent_class_of_category
1 change: 1 addition & 0 deletions src/sage/categories/category_singleton.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
r"""
Singleton categories
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/category_types.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
"""
Specific category classes

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/category_with_axiom.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
r"""
Axioms

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/chain_complexes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
"""
Category of chain complexes
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/classical_crystals.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
# sage.doctest: needs sage.graphs sage.combinat
r"""
Classical Crystals
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/coalgebras.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
# sage.doctest: needs sage.combinat
r"""
Coalgebras
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/coalgebras_with_basis.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Coalgebras with basis
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/coercion_methods.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
"""
Coercion methods for categories

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/commutative_additive_groups.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Commutative additive groups
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/commutative_additive_monoids.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Commutative additive monoids
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/commutative_additive_semigroups.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Commutative additive semigroups
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/commutative_algebra_ideals.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Commutative algebra ideals
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/commutative_algebras.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Commutative algebras
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/commutative_ring_ideals.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Commutative ring ideals
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/commutative_rings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Commutative rings
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/complete_discrete_valuation.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Complete Discrete Valuation Rings (CDVR) and Fields (CDVF)
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/complex_reflection_groups.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Complex reflection groups
"""
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/covariant_functorial_construction.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-objects
r"""
Covariant Functorial Constructions

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/coxeter_group_algebras.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
# sage.doctest: needs sage.combinat sage.groups
r"""
Coxeter Group Algebras
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/coxeter_groups.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Coxeter Groups
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/crystals.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
# sage.doctest: needs sage.graphs sage.combinat
r"""
Crystals
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/cw_complexes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
CW Complexes
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/dedekind_domains.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Dedekind Domains
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/discrete_valuation.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Discrete Valuation Rings (DVR) and Fields (DVF)
"""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Distributive Magmas and Additive Magmas
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/division_rings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Division rings
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/domains.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Domains
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/drinfeld_modules.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
# sage.doctest: needs sage.rings.finite_rings
r"""
Drinfeld modules over a base
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/dual.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
"""
Dual functorial construction

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/enumerated_sets.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Enumerated sets
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/euclidean_domains.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Euclidean domains

Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/examples/algebras_with_basis.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
# sage.doctest: needs sage.combinat
r"""
Examples of algebras with basis
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/examples/all.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# sage_setup: distribution = sagemath-categories
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
"""
Examples of commutative additive monoids
"""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
"""
Examples of commutative additive semigroups
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/examples/coxeter_groups.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
"""
Examples of Coxeter groups
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/examples/crystals.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
# sage.doctest: needs sage.combinat sage.graphs
r"""
Example of a crystal
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/examples/cw_complexes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
"""
Examples of CW complexes
"""
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/examples/facade_sets.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Example of facade set
"""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
r"""
Examples of filtered algebra with basis
"""
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
# sage.doctest: needs sage.combinat
r"""
Examples of filtered modules with basis
Expand Down
1 change: 1 addition & 0 deletions src/sage/categories/examples/finite_coxeter_groups.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# sage_setup: distribution = sagemath-categories
# sage.doctest: needs sage.combinat sage.groups
r"""
Examples of finite Coxeter groups
Expand Down
Loading
Loading