summaryrefslogtreecommitdiffstats
path: root/doc/user/build-install.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/build-install.xml')
-rw-r--r--doc/user/build-install.xml66
1 files changed, 33 insertions, 33 deletions
diff --git a/doc/user/build-install.xml b/doc/user/build-install.xml
index 763c13e..547154c 100644
--- a/doc/user/build-install.xml
+++ b/doc/user/build-install.xml
@@ -67,29 +67,21 @@
Because &SCons; is written in Python,
you must obviously have Python installed on your system
- to use &SCons;
+ to use &SCons;.
Before you try to install Python,
you should check to see if Python is already
available on your system by typing
- <userinput>python</userinput>
+ <userinput>python -V</userinput>
+ (capital 'V')
+ or
+ <userinput>python --version</userinput>
at your system's command-line prompt.
- You should see something like the following
- on a UNIX or Linux system that has Python installed:
</para>
- <!--
- Robert P.J. Day has suggested using "python -V",
- but that's not supported in 1.5.2, so we're going
- to leave this as is for now.
- -->
-
<screen>
- $ <userinput>python</userinput>
- Python 2.2.2 (#1, Feb 24 2003, 19:13:11)
- [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> <userinput>^D</userinput>
+ $ <userinput>python -V</userinput>
+ Python 2.5.1
</screen>
<para>
@@ -99,25 +91,12 @@
</para>
<screen>
- C:\><userinput>python</userinput>
- Python 2.2.2 (#34, Apr 9 2002, 19:34:33) [MSC 32 bit (Intel)] on win32
- Type "help", "copyright", "credits" or "license" for more information.
- >>> <userinput>^Z</userinput>
+ C:\><userinput>python -V</userinput>
+ Python 2.5.1
</screen>
<para>
- The <prompt>>>></prompt> is the input prompt
- for the Python interpreter.
- The <userinput>^D</userinput> and <userinput>^Z</userinput>
- represent the CTRL-D and CTRL-Z characters
- that you will need to type to get out of the interpreter
- before proceeding to installing &SCons;.
-
- </para>
-
- <para>
-
If Python is not installed on your system,
you will see an error message
stating something like "command not found"
@@ -132,6 +111,17 @@
<para>
+ (Note that the <option>-V</option> option
+ was added to Python version 2.0,
+ so if your system only has an earlier version available
+ you may see an
+ <literal>"Unknown option: -V"</literal>
+ error message.)
+
+ </para>
+
+ <para>
+
The standard location for information
about downloading and installing Python is
<ulink url="http://www.python.org/download/">http://www.python.org/download/</ulink>.
@@ -140,6 +130,16 @@
</para>
+ <para>
+
+ &SCons; will work with any version of Python from 1.5.2 or later.
+ If you need to install Python and have a choice,
+ we recommend using the most recent Python 2.5 version available.
+ Python 2.5 has significant improvements
+ the help speed up the performance of &SCons;'.
+
+ </para>
+
</section>
<section>
@@ -402,11 +402,11 @@
install the <application>scons</application> script
in the default system scripts directory
(<filename>/usr/local/bin</filename> or
- <filename>C:\Python2.2\Scripts</filename>),
+ <filename>C:\Python25\Scripts</filename>),
and will install the &SCons; build engine
in an appropriate stand-alone library directory
(<filename>/usr/local/lib/scons</filename> or
- <filename>C:\Python2.2\scons</filename>).
+ <filename>C:\Python25\scons</filename>).
Because these are system directories,
you may need root (on Linux or UNIX) or Administrator (on Windows)
privileges to install &SCons; like this.
@@ -462,7 +462,7 @@
in the
<filename>/usr/lib/scons-__VERSION__</filename>
or
- <filename>C:\Python2.2\scons-__VERSION__</filename>
+ <filename>C:\Python25\scons-__VERSION__</filename>
directory, for example.
</para>