Changes between Version 2 and Version 5 of Ticket #30036


Ignore:
Timestamp:
Feb 14, 2021, 8:22:24 PM (20 months ago)
Author:
Matthias Köppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30036

    • Property Keywords sd111 added
    • Property Milestone changed from sage-9.3 to sage-9.4
    • Property Summary changed from sagelib: Use installed `sage_bootstrap` if available to sage_conf-pypi: Incremental builds
  • Ticket #30036 – Description

    v2 v5  
    1 We add the following mechanism to sagelib's `setup.py`:
     1(from #29039)
    22
    3   Try importing the module `sage_bootstrap`.
    4   If it succeeds, call the function `sage_bootstrap.build.build` (#29039) to install the non-Python prerequisites of sagelib.
     3Make 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.
    54
    6 Using the `extras_require` mechanism, we make `pip install sagemath-standard[bootstrap]` pull in `sage_bootstrap` automatically.
    7 https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html?highlight=options.extras_require#configuring-setup-using-setup-cfg-files