diff options
Diffstat (limited to 'README.rst')
-rwxr-xr-x | README.rst | 28 |
1 files changed, 7 insertions, 21 deletions
@@ -73,8 +73,7 @@ Execution Requirements ====================== Running SCons requires Python 3.5 or higher. There should be no other -dependencies or requirements to run scons, although the pywin32 Python -package is strongly recommended if running on Windows systems. +dependencies or requirements to run scons The default SCons configuration assumes use of the Microsoft Visual C++ compiler suite on Win32 systems, and assumes a C compiler named 'cc', a C++ @@ -98,33 +97,20 @@ Nothing special. Executing SCons Without Installing ================================== -You can execute the local SCons directly from the SCons subdirectory by first -setting the SCONS_LIB_DIR environment variable to the local SCons -subdirectory, and then executing the local scripts/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):: +You can execute the SCons directly from this repository. For Linux or UNIX:: - $ setenv MYSCONS=`pwd` - $ python $MYSCONS/scripts/scons.py [arguments] + $ python scripts/scons.py [arguments] Or on Windows:: - C:\scons>set MYSCONS=%cd% - C:\scons>python %MYSCONS%\scripts\scons.py [arguments] - -An alternative approach is to skip the above and use:: - - $ python scripts/scons.py [arguments] + C:\scons>python scripts\scons.py [arguments] - -You can use the -C option to have SCons change directory to another location -where you already have a build configuration set up:: +If you run SCons this way, it will execute `SConstruct` file for this repo, +which will build and pack SCons itself. Use the -C option to change directory +to your project:: $ python scripts/scons.py -C /some/other/location [arguments] -For simplicity in the following examples, we will only show the bootstrap.py -approach. - Installation ============ |