Feature for testing the presence of PARI/GP.

class sage.features.pari.Gp(*args, **kwds)[source]

Bases: Executable

A Feature describing the presence of the gp executable.

EXAMPLES:

sage: from sage.features.pari import Gp
sage: Gp().is_present()                                # needs sage.libs.pari
FeatureTestResult('gp_executable', True)
>>> from sage.all import *
>>> from sage.features.pari import Gp
>>> Gp().is_present()                                # needs sage.libs.pari
FeatureTestResult('gp_executable', True)