Changes between Initial Version and Version 3 of Ticket #30580


Ignore:
Timestamp:
09/16/20 02:37:48 (17 months ago)
Author:
mkoeppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30580

    • Property Status changed from new to needs_review
    • Property Authors changed from to Matthias Koeppe
    • Property Priority changed from major to minor
    • Property Branch changed from to u/mkoeppe/sage_setup__remove_import_time_dependency___setup_requires___on__pkgconfig____numpy_
    • Property Commit changed from to 88c4e8c946b6e93381b4ef0b035ff4f21a1f30f5
  • Ticket #30580 – Description

    initial v3  
    11Just loading `src/setup.py` already pulls in Cython, `numpy`, and `pkgconfig` via `sage_setup`, so these distributions would have to be declared as `[build_system] requires` in `src/pyproject.toml` (ex `setup_requires`)
    22
    3 By moving some computations from import-time to runtime, we get rid of this dependency on `pkgconfig`, `numpy`.
     3By moving some computations from import-time to runtime, we get rid of this early dependency on `pkgconfig`, `numpy`.  (They are, of course, still required for building the package.) 
    44
     5We also make `setup.py sdist` work using a Python that does not have Cython installed.
     6
     7(However, we do not address the whole load-time dependency of `setup.py` on `Cython` (via `sage_setup.find`, which uses `open_source_file` and `is_package_dir`) in this ticket. This is best done after #28925.)