#10208: Remove "warning: Replacing library search directory..." if caused by
symbolic links
-----------------------------+----------------------------------------------
Reporter: jhpalmieri | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-4.6.1
Component: build | Keywords:
Author: John Palmieri | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Comment(by leif):
Would perhaps look nicer (in the code) if you just replaced the two
occurrences of `os.path.normpath()` by `os.path.realpath()`, but I'm ok
with your solution, since it does preserve more of the "given" directory
names.
`os.path.normpath(SAGE_LOCAL+"/lib")` should already be a fully
dereferenced path (because `SAGE_ROOT` is), so you could omit the change
into `os.path.realpath(sage_libdir)`.
The warning will only show up on MacOS X anyway.
Unfortunately, on Darwin afaik `os.path.realpath()` does not necessarily
return a unique name; perhaps this has meanwhile been fixed, but distutils
still implement their own `canonicalize_path()` (or whatever it is called)
for Darwin.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10208#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.