| 1 | initial version |
I think the easiest solution is to install your library and bindings inside the Sage environment instead of in /opt/mylib. Run
sage --sh
which will drop you in a "Sage shell". Now, install your stuff in $SAGE_LOCAL. For an autotools project, this would be
./configure --prefix="$SAGE_LOCAL" && make && make install
For a Python project, plain pip will work:
pip install PKGNAME
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.