summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-08-20 17:48:17 (GMT)
committerSteven Knight <knight@baldmt.com>2004-08-20 17:48:17 (GMT)
commit6ec1c708ae25a616d3e32b5b654d896baf0369ac (patch)
tree374b9e988044ef05e129d0ebcf3eef3f706692d2 /README
parent84f00012c6e961df55c666abcfa1477578c81c34 (diff)
downloadSCons-6ec1c708ae25a616d3e32b5b654d896baf0369ac.zip
SCons-6ec1c708ae25a616d3e32b5b654d896baf0369ac.tar.gz
SCons-6ec1c708ae25a616d3e32b5b654d896baf0369ac.tar.bz2
Update the packaging SConscript files to be platform independent.
Diffstat (limited to 'README')
-rw-r--r--README39
1 files changed, 27 insertions, 12 deletions
diff --git a/README b/README
index dc7c0b5..7a24f67 100644
--- a/README
+++ b/README
@@ -86,11 +86,11 @@ In this case, your options are:
INSTALLATION
============
-Assuming your system satisfies the installation requirements in
-the previous section, install SCons from this package by first
-populating the build/scons/ directory. (For an easier way to
-install SCons, without having to populate this directory, use the
-scons-{version}.tar.gz or scons-{version}.zip package.)
+Assuming your system satisfies the installation requirements in the
+previous section, install SCons from this package by first populating
+the build/scons/ subdirectory. (For an easier way to install SCons,
+without having to populate this directory, use the scons-{version}.tar.gz
+or scons-{version}.zip package.)
If you already have an appropriate version of SCons installed on your
system, populate the build/scons/ directory by running:
@@ -99,21 +99,36 @@ system, populate the build/scons/ directory by running:
If you don't have SCons version 0.96 or later already installed on your
system, you can use SCons itself to populate the build/scons/ directory
-with a little more typing:
+with a little more typing. You must first set the SCONS_LIB_DIR
+environment variable to the local src/engine subdirectory, and then
+execute the local src/script/scons.py script to populate the build/scons/
+subdirectory. You would do this as follows on a Linux or UNIX system
+(using sh or a derivative like bash or ksh):
- $ SCONS_LIB_DIR=`pwd`/src/engine python src/script/scons.py build/scons
+ $ export SCONS_LIB_DIR=`pwd`/src/engine
+ $ python src/script/scons.py build/scons
-Either command will populate the build/scons/ directory with the
-necessary files and directory structure to use the Python-standard setup
-script as follows:
+Or as follows on Windows:
+
+ C:\scons\>set SCONS_LIB_DIR=%cd%\src\engine
+ C:\scons\>python src/script/scons.py build/scons
+
+Either command will populate the build/scons/ directory with the necessary
+files and directory structure to use the Python-standard setup script
+as follows on Linux or UNIX:
# cd build/scons
# python setup.py install
+And on Windows:
+
+ C:\scons\>cd build\scons
+ C:\scons\build\scons>python setup.py install
+
If this is the first time you are installing SCons on your system,
the above command will install the scons script in the default system
-script directory (/usr/bin or C:\Python*\Scripts, for example) and the
-build engine in an appropriate stand-alone SCons library directory
+script directory (/usr/bin or C:\Python*\Scripts, for example) and
+the build engine in an appropriate stand-alone SCons library directory
(/usr/lib/scons or C:\Python*\scons, for example).
Note that, by default, SCons does not install its library in the