Changes between Version 75 and Version 95 of Ticket #21480


Ignore:
Timestamp:
09/16/16 23:47:24 (3 years ago)
Author:
mkoeppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21480

    • Property Status changed from needs_work to needs_review
    • Property Commit changed from e5f90659f21cc7ac1e39cdcf7974dba2ba223da5 to 74169e75b0c650e6b1070c6beca231422cf62eaa
    • Property Summary changed from Make sagelib setup.py self-contained, independent of SAGE_ROOT, and handle --build-base to Make sagelib setup.py self-contained and independent of SAGE_ROOT
  • Ticket #21480 – Description

    v75 v95  
    22 - `src/Makefile` delegates ALL building to `src/setup.py`
    33 - `src/setup.py` no longer depends on environment variables `$SAGE_ROOT`, `$SAGE_SRC`, `$SAGE_DOC_SRC`, `$SAGE_CYTHONIZED` etc. (to demonstrate this, `Makefile` poisons these environment variables). It still depends on `$SAGE_LOCAL` and environment variables that point below it.
    4  - `src/setup.py` accepts `build --build-base=BUILD-BASE`. This is where building takes place (where subdirectories `cython_debug`, `cythonized`, `lib.UNAME`, `temp.UNAME` are created). The default is the `build` subdirectory (of `src`).
    5  - `src/Makefile` sets `--build-base` to the `build-sagelib` subdirectory (of `src`).
    64
    75This ticket is meant as:
    86 - preparation for VPATH builds of sage-the-distribution (#21469)
    97 - working towards the goal of making `sagelib` pip-installable -- see #21507 for the eventual goal of having sagelib on PyPI
     8 - making the flow of directory information at build time clearer for developers
    109
    11  More specifically, the goal of this ticket is that only SAGE_LOCAL needs to be set when the user does 'pip install' of the sagelib. (This ticket almost achieves this, except it also needs SAGE_PKGS to be set. The hope is that #20382 or a future ticket will develop a better mechanism to communicate package information to the build.)
     10 More specifically, the goal of this ticket is that only SAGE_LOCAL needs to be set when the user does 'pip install' of the sagelib. (This ticket almost achieves this, except it also needs SAGE_PKGS and SAGE_CYTHONIZED to be set. The hope is that #20382 and other future tickets will develop better mechanisms to communicate package and directory information to the build.)
    1211
    1312. . . . . . .