You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

205 lines
6.3 KiB

6 years ago
  1. # Copyright (c) 2001 - 2017 The SCons Foundation
  2. SCons - a software construction tool
  3. This is the scons-README file for a version of SCons packaged for local
  4. execution--that is, execution out of a specific local directory, without
  5. having to install SCons as a system-wide utility.
  6. You are likely reading this file in one of the following two situations:
  7. 1) You have unpacked an scons-local-{version} package and are
  8. examining the contents.
  9. In this case, you are presumably interested in using this
  10. package to include a local copy of SCons with some other
  11. software that you package, so that you can use SCons to build
  12. your software without forcing all of your users to have it fully
  13. installed. Instructions for this can be found below.
  14. If you are not looking to use SCons in this way, then please
  15. use either the scons-{version} package to install SCons on your
  16. system, or the scons-src-{version} package if you want the full
  17. source to SCons, including its packaging code and underlying
  18. tests and testing infrastructure.
  19. 2) This file was included in some other software package so that
  20. the package could be built using SCons.
  21. In this case, follow the instructions provided with the
  22. rest of the software package for how to use SCons to build
  23. and/or install the software. The file containing build and
  24. installation instructions will typically be named README or
  25. INSTALL.
  26. LATEST VERSION
  27. ==============
  28. Before going further, you can check for the latest version of the
  29. scons-local package, or any SCons package, at the SCons download page:
  30. http://www.scons.org/download.html
  31. EXECUTION REQUIREMENTS
  32. ======================
  33. Running SCons requires Python version 2.4 or later. There should be
  34. no other dependencies or requirements to run SCons.
  35. The default SCons configuration assumes use of the Microsoft Visual C++
  36. compiler suite on WIN32 systems, and assumes a C compiler named 'cc',
  37. a C++ compiler named 'c++', and a Fortran compiler named 'g77' (such
  38. as found in the GNU C compiler suite) on any other type of system.
  39. You may, of course, override these default values by appropriate
  40. configuration of Environment construction variables.
  41. INSTALLATION
  42. ============
  43. Installation of this package should be as simple as unpacking the
  44. archive (either .tar.gz or .zip) in any directory (top-level or a
  45. subdirectory) within the software package with which you want to ship
  46. SCons.
  47. Once you have installed this package, you should write an SConstruct
  48. file at the top level of your source tree to build your software as you
  49. see fit.
  50. Then modify the build/install instructions for your package to instruct
  51. your users to execute SCons as follows (if you installed this package in
  52. your top-level directory):
  53. $ python scons.py
  54. Or (if, for example, you installed this package in a subdirectory named
  55. "scons"):
  56. $ python scons/scons.py
  57. That should be all you have to do. (If it isn't that simple, please let
  58. us know!)
  59. CONTENTS OF THIS PACKAGE
  60. ========================
  61. This scons-local package consists of the following:
  62. scons-LICENSE
  63. A copy of the copyright and terms under which SCons is
  64. distributed (the Open Source Initiative-approved MIT license).
  65. A disclaimer has been added to the beginning to make clear that
  66. this license applies only to SCons, and not to any separate
  67. software you've written with which you're planning to package
  68. SCons.
  69. scons-README
  70. What you're looking at right now.
  71. scons-local-{version}/
  72. The SCons build engine. This is structured as a Python
  73. library.
  74. scons.py
  75. The SCons script itself. The script sets up the Python
  76. sys.path variable to use the build engine found in the
  77. scons-local-{version}/ directory in preference to any other
  78. SCons build engine installed on your system.
  79. DOCUMENTATION
  80. =============
  81. Because this package is intended to be included with other software by
  82. experienced users, we have not included any SCons documentation in this
  83. package (other than this scons-README file you're reading right now).
  84. If, however, you need documentation about SCons, then consult any of the
  85. following from the corresponding scons-{version} or scons-src-{version}
  86. package:
  87. The RELEASE.txt file (src/RELEASE.txt file in the
  88. scons-src-{version} package), which contains notes about this
  89. specific release, including known problems.
  90. The CHANGES.txt file (src/CHANGES.txt file in the
  91. scons-src-{version} package), which contains a list of changes
  92. since the previous release.
  93. The scons.1 man page (doc/man/scons.1 in the scons-src-{version}
  94. package), which contains a section of small examples for getting
  95. started using SCons.
  96. Additional documentation for SCons is available at:
  97. http://www.scons.org/doc.html
  98. LICENSING
  99. =========
  100. SCons is distributed under the MIT license, a full copy of which is
  101. available in the scons-LICENSE file in this package. The MIT license is
  102. an approved Open Source license, which means:
  103. This software is OSI Certified Open Source Software. OSI
  104. Certified is a certification mark of the Open Source Initiative.
  105. More information about OSI certifications and Open Source software is
  106. available at:
  107. http://www.opensource.org/
  108. REPORTING BUGS
  109. ==============
  110. You can report bugs either by following the "Tracker - Bugs" link
  111. on the SCons project page:
  112. http://sourceforge.net/projects/scons/
  113. or by sending mail to the SCons developers mailing list:
  114. scons-devel@lists.sourceforge.net
  115. MAILING LISTS
  116. =============
  117. A mailing list for users of SCons is available. You may send questions
  118. or comments to the list at:
  119. scons-users@lists.sourceforge.net
  120. You may subscribe to the scons-users mailing list at:
  121. http://lists.sourceforge.net/lists/listinfo/scons-users
  122. FOR MORE INFORMATION
  123. ====================
  124. Check the SCons web site at:
  125. http://www.scons.org/
  126. AUTHOR INFO
  127. ===========
  128. Steven Knight
  129. knight at baldmt dot com
  130. http://www.baldmt.com/~knight/
  131. With plenty of help from the SCons Development team:
  132. Chad Austin
  133. Charles Crain
  134. Steve Leblanc
  135. Anthony Roach
  136. Terrel Shumway