-- (Optional.) Install from a pre-packaged SCons package that
does not require distutils:
- Red Hat Linux scons-0.96.9
+ Red Hat Linux scons-0.96.9.noarch.rpm
- Debian GNU/Linux scons_0.96.9
+ Debian GNU/Linux scons_0.96.9_all.deb
- Windows scons-0.96.9
+ Windows scons-0.96.9.win32.exe
-- (Recommended.) Download the latest distutils package from the
By default, the above commands will do the following:
- -- Install the version-numbered "scons-0.96.9
3" and "sconsign-0.96.9 3"
+ -- Install the version-numbered "scons-0.96.9" and "sconsign-0.96.9"
scripts in the default system script directory (/usr/bin or
C:\Python*\Scripts, for example). This can be disabled by
specifying the "--no-version-script" option on the command
if you want to install and experiment with a new version before
making it the default on your system. On UNIX or Linux systems,
you can have the "scons" and "sconsign" scripts be hard links or
- symbolic links to the "scons-0.96.9
3" and "sconsign-0.96.9 3" scripts
+ symbolic links to the "scons-0.96.9" and "sconsign-0.96.9" scripts
by specifying the "--hardlink-scons" or "--symlink-scons"
options on the command line.
- -- Install "scons-0.96.9
3.bat" and "scons.bat" wrapper scripts in the
+ -- Install "scons-0.96.9.bat" and "scons.bat" wrapper scripts in the
Python prefix directory on Windows (C:\Python*, for example).
This can be disabled by specifying the "--no-install-bat" option
on the command line. On UNIX or Linux systems, the
- "--install-bat" option may be specified to have "scons-0.96.9
+ "--install-bat" option may be specified to have "scons-0.96.9.bat"
and "scons.bat" files installed in the default system script
directory, which is useful if you want to install SCons in a
shared file system directory that can be used to execute SCons
-- Install the SCons build engine (a Python module) in an
appropriate version-numbered SCons library directory
3 or C:\Python*\scons-0.96.9 3, for example).
+ (/usr/lib/scons-0.96.9 or C:\Python*\scons-0.96.9, for example).
See below for more options related to installing the build
If you don't have SCons version 0.96.93 later already installed on your
-system, you can build this version of SCons with itself with a little more
+system, you can use the supplied bootstrap.py script:
+ $ python bootstrap.py build/scons
+The bootstrap.py keeps the src/ subdirectory free of compiled Python
+(*.pyc or *.pyo) files by copying the necessary SCons files to a local
+bootstrap/ subdirectory and executing it from there.
+You can also build this version of SCons by hand with a little more
typing. On UNIX or Linux (using sh or a derivative like bash or ksh):
$ export SCONS_LIB_DIR=`pwd`/src/engine
Depending on the utilities installed on your system, any or all of the
following packages will be built:
The SConstruct file is supposed to be smart enough to avoid trying to
build packages for which you don't have the proper utilities installed.