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 7cd5a23 commit 576d8bfCopy full SHA for 576d8bf
src/sage/features/sagemath.py
@@ -58,8 +58,13 @@ def __init__(self):
58
True
59
"""
60
from sage.env import SAGE_SRC
61
+ # We check the file bin/sage-src-env-config.in, which by design is:
62
+ # - never installed,
63
+ # - not included in the sagemath-standard sdist,
64
+ # - included only in one modularized sdist, of pkgs/sage-conf_pypi,
65
+ # where it appears in a subdirectory (sage_root/src/bin/)
66
StaticFile.__init__(self, 'SAGE_SRC',
- filename='VERSION.txt', # a file that is never installed
67
+ filename='bin/sage-src-env-config.in',
68
search_path=(SAGE_SRC,) if SAGE_SRC else ())
69
70
0 commit comments