Opened 4 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.3
Component: build Keywords:
Cc: fbissey, gh-timokau, jhpalmieri, isuruf, arojas Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

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 (7)

comment:1 Changed 2 years ago by gh-timokau

  • Cc gh-timokau added

comment:2 Changed 6 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 5 months ago by mkoeppe

  • Description modified (diff)

comment:4 Changed 5 months ago by mkoeppe

  • Description modified (diff)

comment:5 Changed 5 months ago by mkoeppe

  • Cc jhpalmieri added

comment:6 Changed 5 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 2 months ago by mkoeppe

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