2009/7/24 Pat LeSmithe <[email protected]>: > > > Although there are many useful symbolic links under $SAGE_LOCAL and hard > links under $SAGE_ROOT/devel, Python's os module > > http://docs.python.org/library/os.html > > supports both types only on Unix systems (i.e., not Windows). I think > the standard way to cope with no support for hard links is to use copies > instead. What about symlinks? Should we avoid making or relying on > them in code distributed with Sage? > > Some context: When we merged > > http://trac.sagemath.org/sage_trac/ticket/5799 > > we put jsMath under version control, in > > $SAGE_DOC/common/static/jsmath > > At the time, this seemed to be necessary, since Python's distutils > complained about a [temporarily broken] symbolic link to jsMath's usual home > > $SAGE_ROOT/local/notebook/javascript/jsmath > > as it began to build what would become sage-4.1.spkg. > > One possible solution is to patch the Sage library's setup.py so that > distutils includes broken links: > > http://trac.sagemath.org/sage_trac/ticket/6614 > > Is this worth pursuing, given that it won't work on Windows? > > One alternative: > > 1. Remove jsMath from the repo. > 2. Copy jsMath to the required locations in its own spkg-install. > > Is this a better approach?
I'm not much of a Windoze user, but is a 'shortcut' not like a symbolic link? Could shortcuts be used instead? Just a thought. --~--~---------~--~----~------------~-------~--~----~ 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-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
