summaryrefslogtreecommitdiffstats
path: root/README-local
blob: 584234d59ebcd4f9e17c89e53bf70821a85e00a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
# __COPYRIGHT__

                 SCons - a software construction tool

This is the scons-README file for a version of SCons packaged for local
execution--that is, execution out of a specific local directory, without
having to install SCons as a system-wide utility.

You are likely reading this file in one of the following two situations:

    1)  You have unpacked an scons-local-{version} package and are
        examining the contents.

        In this case, you are presumably interested in using this
        package to include a local copy of SCons with some other
        software that you package, so that you can use SCons to build
        your software without forcing all of your users to have it fully
        installed.  Instructions for this can be found below.

        If you are not looking to use SCons in this way, then please
        use either the scons-{version} package to install SCons on your
        system, or the scons-src-{version} package if you want the full
        source to SCons, including its packaging code and underlying
        tests and testing infrastructure.

    2)  This file was included in some other software package so that
        the package could be built using SCons.

        In this case, follow the instructions provided with the
        rest of the software package for how to use SCons to build
        and/or install the software.  The file containing build and
        installation instructions will typically be named README or
        INSTALL.

LATEST VERSION
==============

Before going further, you can check for the latest version of the
scons-local package, or any SCons package, at the SCons download page:

        http://www.scons.org/download.html


EXECUTION REQUIREMENTS
======================

Running SCons requires Python version 2.4 or later.  There should be
no other 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++ compiler named 'c++', and a Fortran compiler named 'g77' (such
as found in the GNU C compiler suite) on any other type of system.
You may, of course, override these default values by appropriate
configuration of Environment construction variables.


INSTALLATION
============

Installation of this package should be as simple as unpacking the
archive (either .tar.gz or .zip) in any directory (top-level or a
subdirectory) within the software package with which you want to ship
SCons.

Once you have installed this package, you should write an SConstruct
file at the top level of your source tree to build your software as you
see fit.

Then modify the build/install instructions for your package to instruct
your users to execute SCons as follows (if you installed this package in
your top-level directory):

        $ python scons.py

Or (if, for example, you installed this package in a subdirectory named
"scons"):

        $ python scons/scons.py

That should be all you have to do.  (If it isn't that simple, please let
us know!)


CONTENTS OF THIS PACKAGE
========================

This scons-local package consists of the following:

scons-LICENSE
        A copy of the copyright and terms under which SCons is
        distributed (the Open Source Initiative-approved MIT license).

        A disclaimer has been added to the beginning to make clear that
        this license applies only to SCons, and not to any separate
        software you've written with which you're planning to package
        SCons.

scons-README
        What you're looking at right now.

scons-local-{version}/
        The SCons build engine.  This is structured as a Python
        library.

scons.py
        The SCons script itself.  The script sets up the Python
        sys.path variable to use the build engine found in the
        scons-local-{version}/ directory in preference to any other
        SCons build engine installed on your system.


DOCUMENTATION
=============

Because this package is intended to be included with other software by
experienced users, we have not included any SCons documentation in this
package (other than this scons-README file you're reading right now).

If, however, you need documentation about SCons, then consult any of the
following from the corresponding scons-{version} or scons-src-{version}
package:

        The RELEASE.txt file (src/RELEASE.txt file in the
        scons-src-{version} package), which contains notes about this
        specific release, including known problems.

        The CHANGES.txt file (src/CHANGES.txt file in the
        scons-src-{version} package), which contains a list of changes
        since the previous release.

        The scons.1 man page (doc/man/scons.1 in the scons-src-{version}
        package), which contains a section of small examples for getting
        started using SCons.

Additional documentation for SCons is available at:

        http://www.scons.org/doc.html


LICENSING
=========

SCons is distributed under the MIT license, a full copy of which is
available in the scons-LICENSE file in this package. The MIT license is
an approved Open Source license, which means:

        This software is OSI Certified Open Source Software.  OSI
        Certified is a certification mark of the Open Source Initiative.

More information about OSI certifications and Open Source software is
available at:

        http://www.opensource.org/


REPORTING BUGS
==============

You can report bugs either by following the "Tracker - Bugs" link
on the SCons project page:

        http://sourceforge.net/projects/scons/

or by sending mail to the SCons developers mailing list:

        scons-devel@lists.sourceforge.net


MAILING LISTS
=============

A mailing list for users of SCons is available.  You may send questions
or comments to the list at:

        scons-users@lists.sourceforge.net

You may subscribe to the scons-users mailing list at:

        http://lists.sourceforge.net/lists/listinfo/scons-users


FOR MORE INFORMATION
====================

Check the SCons web site at:

        http://www.scons.org/


AUTHOR INFO
===========

Steven Knight
knight at baldmt dot com
http://www.baldmt.com/~knight/

With plenty of help from the SCons Development team:
        Chad Austin
        Charles Crain
        Steve Leblanc
        Anthony Roach
        Terrel Shumway