Features for testing the presence of the SageMath interfaces to gap
and of GAP packages¶
- class sage.features.gap.GapPackage(*args, **kwds)[source]¶
Bases:
Feature
A
Feature
describing 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.gap
EXAMPLES:
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')