Feature for testing the presence of MACAULAY2

class sage.features.macaulay2.Macaulay2(*args, **kwds)[source]

Bases: Executable

A Feature describing the presence of macaulay2.

EXAMPLES:

sage: from sage.features.macaulay2 import Macaulay2
sage: Macaulay2().is_present()  # optional - macaulay2
FeatureTestResult('macaulay2_executable', True)
>>> from sage.all import *
>>> from sage.features.macaulay2 import Macaulay2
>>> Macaulay2().is_present()  # optional - macaulay2
FeatureTestResult('macaulay2_executable', True)
sage.features.macaulay2.all_features()[source]