Package: sage-conf
DescriptionThis distribution package provides:a single Python module,sage_conf, providing configuration information
to the SageMath library at the time of its installation and at its runtimea console scriptsage-config, for querying the variables ofsage_conffrom the shella sourcable shell scriptsage-env-config, providing additional configuration
information in the form of environment variablesThesage_confdistribution package is polymorphic:  It has several implementations.sage_conf sdist on PyPIThis implementation of thesage_confdistribution package comes fromhttps://github.com/sagemath/sage/issues/29039, which added the directorypkgs/sage-conf_pypi.To install, usepip install-vsage_conf.  Using-vensures that diagnostic
messages are displayed.On installation (or building a wheel), it invokessage_bootstrapto establish
a build tree (SAGE_ROOT) and installation tree (SAGE_LOCAL) for
the SageMath distribution.  By default, it uses a subdirectory of$HOME/.sagethat is specific to the version of the distribution and the version of Python in
use.  If several virtual environments over the same version of Python installsage_conf, they will share these trees.After installation ofsage_conf, a wheelhouse containing wheels of
various libraries is available; typels$(sage-configSAGE_SPKG_WHEELS)to list them andpip install$(sage-configSAGE_SPKG_WHEELS)/*.whlto install them.  After this, you can install the Sage
library, for example, usingpip installsagemath-standard.sage_conf wheelsPrebuilt binary wheels of thesage_confdistribution package are available
athttps://github.com/sagemath/sage-wheels/releases/This implementation ofsage_confcomes fromhttps://github.com/sagemath/sage/issues/31396,
which adds the directorypkgs/sage-conf_relocatable/.On building a wheel, it invokessage_bootstrapto establish a
build and installation tree (SAGE_ROOT,SAGE_LOCAL) in a
subdirectory of the directory/var/tmp/, whose name is specific to
the version of the distribution and the version of Python in use.The wheel distributes a copy of the prebuiltSAGE_ROOTandSAGE_LOCAL.  Importingsage_conf(or using the installedsage-configscript), makes sure that a symlink from the/var/tmplocation to the actual persistent installation location
is created.  As the relocated libraries and programs contain the
hardcoded pathSAGE_LOCALin various ways (including as rpaths),
this symlink is necessary for the prebuilt libraries and programs to
work./var/tmpis a sticky directory on all Linux distributions
following the Filesystem Hierarchy Standard, as well as on macOS and
on Cygwin.  On multi-user systems, only one user can use a given
version of the distribution; other installation schemes are recommended
for systems with multiple Sage users.sage_conf in the SageMath distributionThe original version of the distribution packagesage_confis used
internally in the SageMath distribution.  It is provided in the directorypkgs/sage-conf.
This version of the package is generated by the Sage distribution’s./configurescript.sage_conf for condaThe version of the distribution package in the directorypkgs/sage-conf_condais used in an experimental installation method of SageMath, where all packages
are provided by conda.  This method is described inhttps://doc.sagemath.org/html/en/installation/conda.html#using-conda-to-provide-all-dependencies-for-the-sage-library-experimentalsage_conf in downstream distributionsDownstream packagers and advanced developers and users may want to provide
their own implementation of the distribution package to support the intended
deployment of the SageMath library.LicenseGNU General Public License (GPL) v3 or laterUpstream Contacthttps://www.sagemath.orgThis package is included in the source code of the Sage distribution,
inpkgs/sage-conf*.