Ticket #4317 (closed defect: fixed)
[with patch; positive review] Fix easy-install.pth after moving Sage
| Reported by: | zimmerma | Owned by: | mabshoff |
|---|---|---|---|
| Priority: | blocker | Milestone: | sage-3.2.1 |
| Component: | relocation | Keywords: | |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
To reproduce:
1) build sage from source, say in /tmp/sage-3.1.4
2) type make install DESTDIR=/usr/local/sage-3.1.4 (for example)
3) modify a file in /usr/local/sage-3.1.4, say integers.pyx (for example change the default base for digits)
4) run /usr/local/sage-3.1.4/bin/sage -br
5) try the modified function: the change has not been taken into account!
The fix is to rename /tmp/sage-3.1.4 into (say) /tmp/sage-3.1.4-old. It appears the relocation does not work any more, or more precisely that sage first looks into the build directory if it still exists.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

