Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/features/sagemath.py: Add features for modules that were opt…
Browse files Browse the repository at this point in the history
…ional extensions
  • Loading branch information
Matthias Koeppe committed Oct 3, 2021
1 parent 1ec0c48 commit 0063749
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions src/sage/features/sagemath.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,38 @@ def __init__(self):
PythonModule.__init__(self, 'sage.graphs.graph')


class sage__graphs__bliss(PythonModule):

def __init__(self):
# Currently part of sagemath_standard, conditionally built.
# Will be changed to spkg='sagemath_bliss' later
PythonModule.__init__(self, 'sage.graphs.bliss', spkg='bliss')


class sage__graphs__graph_decompositions__tdlib(PythonModule):

def __init__(self):
# Currently part of sagemath_standard, conditionally built.
# Will be changed to spkg='sagemath_tdlib' later
PythonModule.__init__(self, 'sage.graphs.graph_decompositions.tdlib', spkg='tdlib')


class sage__graphs__mcqd(PythonModule):

def __init__(self):
# Currently part of sagemath_standard, conditionally built.
# Will be changed to spkg='sagemath_mcqd' later
PythonModule.__init__(self, 'sage.graphs.mcqd', spkg='mcqd')


class sage__matrix__matrix_gfpn_dense(PythonModule):

def __init__(self):
# Currently part of sagemath_standard, conditionally built.
# Will be changed to spkg='sagemath_meataxe' later
PythonModule.__init__(self, 'sage.matrix.matrix_gfpn_dense', spkg='meataxe')


class sage__rings__number_field(PythonModule):

def __init__(self):
Expand Down Expand Up @@ -56,6 +88,14 @@ def sage_optional_tags():
yield 'sage.combinat'
if sage__graphs().is_present():
yield 'sage.graphs'
if sage__graphs__bliss().is_present():
yield 'sage.graphs.bliss'
if sage__graphs__graph_decompositions__tdlib().is_present():
yield 'sage.graphs.graph_decompositions.tdlib'
if sage__graphs__mcqd().is_present():
yield 'sage.graphs.mcqd'
if sage__matrix__matrix_gfpn_dense().is_present():
yield 'sage.matrix.matrix_gfpn_dense'
if sage__rings__number_field().is_present():
yield 'sage.rings.number_field'
if sage__rings__real_double().is_present():
Expand Down

0 comments on commit 0063749

Please sign in to comment.