@@ -10,25 +10,25 @@ def __init__(self):
10
10
# sage.combinat will be a namespace package.
11
11
# Testing whether sage.combinat itself can be imported is meaningless.
12
12
# Hence, we test a Python module within the package.
13
- PythonModule .__init__ ('sage.combinat.combinations' )
13
+ PythonModule .__init__ (self , 'sage.combinat.combinations' )
14
14
15
15
16
16
class sage__graphs (PythonModule ):
17
17
18
18
def __init__ (self ):
19
- PythonModule .__init__ ('sage.graphs.graph' )
19
+ PythonModule .__init__ (self , 'sage.graphs.graph' )
20
20
21
21
22
22
class sage__rings__real_double (PythonModule ):
23
23
24
24
def __init__ (self ):
25
- PythonModule .__init__ ('sage.rings.real_double' )
25
+ PythonModule .__init__ (self , 'sage.rings.real_double' )
26
26
27
27
28
28
class sage__symbolic (PythonModule ):
29
29
30
30
def __init__ (self ):
31
- PythonModule .__init__ ('sage.symbolic.expression' , spkg = "sagemath_symbolics" )
31
+ PythonModule .__init__ (self , 'sage.symbolic.expression' , spkg = "sagemath_symbolics" )
32
32
33
33
34
34
def sage_optional_tags ():
@@ -46,11 +46,11 @@ def sage_optional_tags():
46
46
Instead, we associate distribution packages to Python modules in
47
47
:mod:`sage.features.sagemath` via the ``spkg`` parameter of :class:`PythonModule``.
48
48
"""
49
- if sage__combinat ().is_functional ():
49
+ if sage__combinat ().is_present ():
50
50
yield 'sage.combinat'
51
- if sage__graphs ().is_functional ():
51
+ if sage__graphs ().is_present ():
52
52
yield 'sage.graphs'
53
- if sage__rings__real_double ().is_functional ():
53
+ if sage__rings__real_double ().is_present ():
54
54
yield 'sage.rings.real_double'
55
- if sage__symbolic ().is_functional ():
55
+ if sage__symbolic ().is_present ():
56
56
yield 'sage.symbolic'
0 commit comments