Features for testing the presence of the SageMath interfaces to gap and of GAP packages¶
- class sage.features.gap.GapPackage(*args, **kwds)[source]¶
Bases:
FeatureA
Featuredescribing the presence of a GAP package.A GAP package is “present” if it can be loaded, not if it has been loaded.
See also
Feature sage.libs.gapEXAMPLES:
sage: from sage.features.gap import GapPackage sage: GapPackage("grape", spkg='gap_packages') Feature('gap_package_grape')
>>> from sage.all import * >>> from sage.features.gap import GapPackage >>> GapPackage("grape", spkg='gap_packages') Feature('gap_package_grape')