12.5 Installing shortcut scripts

Module: sage.misc.dist

Installing shortcut scripts

Module-level Functions

install_scripts( [bin_directory=None])

Run this command as install_scripts(bin_directory) to create scripts in the given bin directory that, independently of SAGE, run various software components included with SAGE: ['gap', 'gp', 'singular', 'maxima', 'M2', 'kash', 'mwrank', 'ipython', 'hg', 'hgmerge', 'R']

This command:

Input:

bin_directory
- string; the directory into which to put the scripts

Output: Verbosely prints what it is doing and creates files in bin_directory that are world executable and readable.

NOTE: You may need to run Sage as root in order to run install_scripts successfully, since the user running Sage will need write permissions on bin_directory.

Author Log:

See About this document... for information on suggesting changes.