Skip to content

Commit

Permalink
Minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbaddog committed May 4, 2024
1 parent e8676f2 commit f5f7984
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER

From Thaddeus Crews:
- GetSConsVersion() to grab the latest SCons version without needing to
dig into private functions.
access SCons internals.

From Raymond Li:
- Fix issue #3935: OSErrors are now no longer hidden during execution of
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Here is a summary of the changes since 4.7.0:
NEW FUNCTIONALITY
-----------------

- GetSConsVersion() to grab the current SCons version from an exposed api.
- GetSConsVersion() added to retrieve the SCons version.

DEPRECATED FUNCTIONALITY
------------------------
Expand Down
1 change: 1 addition & 0 deletions SCons/Script/SConscript.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ EnsureSConsVersion(0,96,90)
<para>
Returns the current SCons version in the form of a Tuple[int, int, int],
representing the major, minor, and revision values respectively.
<emphasis>Added in 4.7.1</emphasis>.
</para>
</summary>
</scons_function>
Expand Down
5 changes: 2 additions & 3 deletions doc/user/misc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,15 @@ SCons 1.0 or greater required, but you have SCons 0.98.5
</section>

<section>
<title>Grabbing the current SCons Version: the &GetSConsVersion; Function</title>
<title>Accessing SCons Version: the &GetSConsVersion; Function</title>

<para>

While &EnsureSConsVersion; is acceptable for most cases, there
are times where the user will want to support multiple SCons versions
simultaneously. In this scenario, it's beneficial to retrieve version
information of the currently executing SCons directly. This was previously
only possible by accessing private class methods, which made the
process cumbersome and unintuitive. From 4.8 onwards, it's now possible
only possible by accessing SCons internals. From SCons4.8 onwards, it's now possible
to instead call &GetSConsVersion; to recieve a tuple containing the
major, minor, and revision values of the current version.

Expand Down

0 comments on commit f5f7984

Please sign in to comment.