Changes between Version 10 and Version 94 of Ticket #22509


Ignore:
Timestamp:
10/11/17 15:14:45 (3 years ago)
Author:
embray
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22509

    • Property Status changed from needs_review to needs_work
    • Property Dependencies changed from #23059 #23096 to #23059 #23096 #23160 #23781
    • Property Milestone changed from sage-wishlist to sage-8.1
    • Property Commit changed from e2941230aea00481d6cf1f58992faa006a7b63f2 to c1d5453c2735cdda78d53dc36b56fb54ec7dd336
  • Ticket #22509 – Description

    v10 v94  
    77* It gives us the opportunity to make an exact list of the files that were installed.  This is a prerequisite to improving package uninstallation/reinstallation in sage-dist (see #22510).
    88
    9 This is also standard operating procedure in most other packaging systems, so it would be good for Sage to adopt too.  It is also already possible for Python packages (e.g. `pip install --root`), and shouldn't be too hard to patch into whatever packages don't support it out of the box for whatever reason.
     9This is also standard operating procedure in most other packaging systems, so it would be good for Sage to adopt too.  The general approach is the same as that used for converting an arbitrary Makefile to support this convention--everywhere a file is installed, prefix the installation path with `$(DESTDIR)` (or in this case a variable we'll call `$SAGE_DESTDIR`).
     10
     11For packages that already support the `DESTDIR` convention, then, we pass `DESTDIR=$SAGE_DESTDIR` to `make install`.  It is also already possible for Python packages (e.g. `pip install --root`).
     12
     13Since the introduction of the build helper scripts in #23160, it makes the most sense to make these changes directly in the helper scripts, and then update more packages to use those helper scripts where possible.