Features for testing the presence of GAP packages#
- class sage.features.gap.GapPackage(*args, **kwds)#
Bases:
Feature
A
Feature
describing the presence of a GAP package.EXAMPLES:
sage: from sage.features.gap import GapPackage sage: GapPackage("grape", spkg="gap_packages") Feature('gap_package_grape')
- sage.features.gap.all_features()#
- class sage.features.gap.sage__libs__gap(*args, **kwds)#
Bases:
JoinFeature
A
sage.features.Feature
describing the presence ofsage.libs.gap
(the library interface to GAP) andsage.interfaces.gap
(the pexpect interface to GAP). By design, we do not distinguish between these two, in order to facilitate the conversion of code from the pexpect interface to the library interface.EXAMPLES:
sage: from sage.features.gap import sage__libs__gap sage: sage__libs__gap().is_present() # optional - sage.libs.gap FeatureTestResult('sage.libs.gap', True)