sagemath/sage

sage-conf_pypi: API for incremental builds

mkoeppe opened this issue · 7 comments

(from #29039)

Make the build more incremental: On installation of sage-conf (the version from pkgs/sage-conf_pypi), only run configure but do not install anything; rather, a Python entry point can be used by Python packages such as sagemath-standard to install packages if present.

Depends on #29039

Component: build

Keywords: sd111

Issue created by migration from https://trac.sagemath.org/ticket/30036

Description changed:

--- 
+++ 
@@ -1,7 +1,7 @@
 We add the following mechanism to sagelib's `setup.py`:
 
   Try importing the module `sage_bootstrap`.
-  If it succeeds, call an entry point in `sage_bootstrap` (#29039) to install the non-Python prerequisites of sagelib. 
+  If it succeeds, call the function `sage_bootstrap.build.build` (#29039) to install the non-Python prerequisites of sagelib. 
 
 Source distributions `sage_bootstrap` and `sagelib` can be uploaded to PyPI.
 

Description changed:

--- 
+++ 
@@ -3,6 +3,6 @@
   Try importing the module `sage_bootstrap`.
   If it succeeds, call the function `sage_bootstrap.build.build` (#29039) to install the non-Python prerequisites of sagelib. 
 
-Source distributions `sage_bootstrap` and `sagelib` can be uploaded to PyPI.
+Using the `extras_require` mechanism, we make `pip install sagemath-standard[bootstrap]` pull in `sage_bootstrap` automatically.
+https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html?highlight=options.extras_require#configuring-setup-using-setup-cfg-files
 
-

Changed keywords from none to sd111

comment:4

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

Description changed:

--- 
+++ 
@@ -1,8 +1,5 @@
-We add the following mechanism to sagelib's `setup.py`:
+(from #29039)
 
-  Try importing the module `sage_bootstrap`.
-  If it succeeds, call the function `sage_bootstrap.build.build` (#29039) to install the non-Python prerequisites of sagelib. 
+Make the build more incremental: On installation of `sage_conf`, only run `configure` but do not install anything; rather, a Python entry point can be used by Python packages such as `sagemath-standard` to install packages if present.
 
-Using the `extras_require` mechanism, we make `pip install sagemath-standard[bootstrap]` pull in `sage_bootstrap` automatically.
-https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html?highlight=options.extras_require#configuring-setup-using-setup-cfg-files
 

Changed dependencies from #29039, #29847 to #29039

Description changed:

--- 
+++ 
@@ -1,5 +1,5 @@
 (from #29039)
 
-Make the build more incremental: On installation of `sage_conf`, only run `configure` but do not install anything; rather, a Python entry point can be used by Python packages such as `sagemath-standard` to install packages if present.
+Make the build more incremental: On installation of **sage-conf** (the version from `pkgs/sage-conf_pypi`), only run `configure` but do not install anything; rather, a Python entry point can be used by Python packages such as `sagemath-standard` to install packages if present.