Differences between revisions 1 and 17 (spanning 16 versions)
Revision 1 as of 2009-07-10 18:47:21
Size: 1551
Editor: Minh Nguyen
Comment: Explain what spkg's are
Revision 17 as of 2020-12-29 03:49:34
Size: 544
Editor: mkoeppe
Comment: Remove remaining list of spkgs.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Sage .spkg files = This page is outdated; replace links to it by one of the following:
Line 3: Line 3:
Files with the extension ".spkg" are known as Sage packages. The directory {{{SAGE_ROOT/spkg/standard}}} contains the standard SPKG's. In a source install of Sage, this directory contains all the standard Sage spkg files (actually .tar or .tar.bz2 files), which are the source code that defines Sage. In a binary install, some of these may be small placeholder files to save space.  - '''Up-to-date information for the latest Sage release can be found in the [[https://doc.sagemath.org/html/en/reference/spkg/ |Sage reference manual]].'''
Line 5: Line 5:
Sage packages are distributed as ".spkg" files, which are .tar.bz2 files (or tar files) but have the extension ".spkg" to discourage confusion. Although Sage packages are packed using tar and/or bzip2, please note that ".spkg" files contain control information (installation scripts and metadata) that are necessary for building and installing them. For source distributions, when you compile Sage the file {{{SAGE_ROOT/makefile}}} takes care of the unpacking, compilation, and installation of Sage packages for you. For more information on the structure of {{{.spkg}}} files, please refer to the Sage Developer's Guide
in your local installation of Sage at
{{{
SAGE_ROOT/sage/doc/output/html/en/developer/index.html
}}}
If you cannot locate that file in your local installation of Sage, you might want to consider (re)building the standard Sage documentation using this command:
{{{
SAGE_ROOT/sage -docbuild all html
}}}
or refer to the [[http://www.sagemath.org/doc/developer/|online Sage developer's guide]]. Additional Sage packages can be found at the [[http://www.sagemath.org/download-packages.html|packages download page]].
 - Up-to-date information of the current development version can be found in the Sage source tree: [[https://git.sagemath.org/sage.git/tree/build/pkgs]].

 - The Sage [[http://doc.sagemath.org/html/en/developer/index.html|Developer Guide]] includes some information on including packages into the source code.

This page is outdated; replace links to it by one of the following: