Opened 5 years ago

Last modified 2 months ago

#21573 new enhancement

Make sure src/setup.py respects --prefix, --install-base, --root, --user

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.5
Component: build Keywords:
Cc: fbissey, gh-timokau, jhpalmieri, isuruf, arojas Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #30371 Stopgaps:

Status badges

Description (last modified by mkoeppe)

... rather than relying on some of the SAGE_LOCAL-derived environment variables.

Comments from src/Makefile.in (before removal in #29411):

## We poison all environment variables that have paths to the sage source and build directories,
## but keep the directories below SAGE_LOCAL intact.
##
## TODO: Do also something about the SAGE_LOCAL stuff:
##  - some of it (our install) should be communicated only through --install-base;
##  - others (installed packages that we pull in) through some configuration mechanism.
##
## TODO: Currently providing --install-base=$(SAGE_LOCAL) leads to this error:
## [sagelib-7.4.beta4] running install
## [sagelib-7.4.beta4] error: install-base or install-platbase supplied, but installation scheme is incomplete

See also:

  • #21678 Testsuite for src/setup.py

Change History (10)

comment:1 Changed 3 years ago by gh-timokau

  • Cc gh-timokau added

comment:2 Changed 17 months ago by mkoeppe

  • Milestone changed from sage-7.5 to sage-9.2

Moving some tickets to 9.2. This is not a promise that I will be working on them.

comment:3 Changed 16 months ago by mkoeppe

  • Description modified (diff)

comment:4 Changed 16 months ago by mkoeppe

  • Description modified (diff)

comment:5 Changed 16 months ago by mkoeppe

  • Cc jhpalmieri added

comment:6 Changed 16 months ago by mkoeppe

  • Cc isuruf arojas added
  • Description modified (diff)
  • Summary changed from Make sure src/setup.py respects --install-base and --root to Make sure src/setup.py respects --prefix, --install-base, --root, --user

comment:7 Changed 13 months ago by mkoeppe

  • Milestone changed from sage-9.2 to sage-9.3

comment:8 Changed 11 months ago by mkoeppe

  • Dependencies set to #30371

comment:9 Changed 6 months ago by mkoeppe

  • Milestone changed from sage-9.3 to sage-9.4

Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date.

comment:10 Changed 2 months ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5
Note: See TracTickets for help on using tickets.