We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1fd6ca commit ede26beCopy full SHA for ede26be
autogen/paths.py
@@ -40,6 +40,8 @@ def pari_share():
40
>>> os.path.isfile(os.path.join(pari_share(), "pari.desc"))
41
True
42
"""
43
+ if "PARI_SHARE" in os.environ:
44
+ return os.environ["PARI_SHARE"]
45
from subprocess import Popen, PIPE
46
if not gppath:
47
raise EnvironmentError("cannot find an installation of PARI/GP: make sure that the 'gp' program is in your $PATH")
0 commit comments