File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,20 @@ sage_conf in the SageMath distribution
78
78
The original version of the distribution package ``sage_conf `` is used
79
79
internally in the SageMath distribution. It is provided in the directory
80
80
`pkgs/sage-conf <https://github.com/sagemath/sage/tree/develop/pkgs/sage-conf/ >`_.
81
- This version of the package is generated by the Sage distribution's ``configure ``
81
+ This version of the package is generated by the Sage distribution's ``./ configure ``
82
82
script.
83
83
84
84
85
+ sage_conf for conda
86
+ -------------------
87
+
88
+ The version of the distribution package in the directory
89
+ `pkgs/sage-conf_conda <https://github.com/sagemath/sage/tree/develop/pkgs/sage-conf_conda/ >`_
90
+ is used in an experimental installation method of SageMath, where all packages
91
+ are provided by conda. This method is described in
92
+ https://doc.sagemath.org/html/en/installation/conda.html#using-conda-to-provide-all-dependencies-for-the-sage-library-experimental
93
+
94
+
85
95
sage_conf in downstream distributions
86
96
-------------------------------------
87
97
Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ def run(self):
34
34
if os .system (cmd ) != 0 :
35
35
if os .path .exists (os .path .join (SAGE_ROOT , 'config.status' )):
36
36
print ("Warning: A configuration has been written, but the configure script has exited with an error. "
37
- "Carefully check any error messages before continuing." )
37
+ "Carefully check any messages above before continuing." )
38
38
else :
39
39
print (f"Error: The configure script has failed; this may be caused by missing build prerequisites." )
40
40
sys .stdout .flush ()
41
41
PREREQ_SPKG = "_prereq bzip2 xz libffi" # includes python3 SPKG_DEPCHECK packages
42
- os .system (f'cd { SAGE_ROOT } && export SYSTEM=$(build/bin/sage-guess-package-system 2>/dev/null) && export PACKAGES="$(build/bin/sage-get-system-packages $SYSTEM { PREREQ_SPKG } )" && [ -n "$PACKAGES" ] && echo "You can install the required build prerequisites using the following shell command" && echo "" && build/bin/sage-print-system-package-command $SYSTEM --verbose --sudo install $PACKAGES && echo ""' )
42
+ os .system (f'cd { SAGE_ROOT } && export PACKAGES="$(build/bin/sage-get-system-packages conda { PREREQ_SPKG } )" && [ -n "$PACKAGES" ] && echo "You can install the required build prerequisites using the following shell command" && echo "" && build/bin/sage-print-system-package-command conda --verbose --sudo install $PACKAGES && echo ""' )
43
43
raise SetupError ("configure failed" )
44
44
45
45
# In this mode, we never run "make".
You can’t perform that action at this time.
0 commit comments