summaryrefslogtreecommitdiffstats
path: root/QMTest/TestSCons.py
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-05-30 06:03:04 (GMT)
committerGreg Noel <GregNoel@tigris.org>2010-05-30 06:03:04 (GMT)
commit0f086e238c98ae8fdc393a4759299ad0db1483d6 (patch)
tree48beeaa12f3e22cb5ea4308611cb070bfd7d1de9 /QMTest/TestSCons.py
parentf8098968bdca6e11a1cc1daa0df70f801c4e251f (diff)
downloadSCons-0f086e238c98ae8fdc393a4759299ad0db1483d6.zip
SCons-0f086e238c98ae8fdc393a4759299ad0db1483d6.tar.gz
SCons-0f086e238c98ae8fdc393a4759299ad0db1483d6.tar.bz2
Prepare for checkpoint release. Everything should be set up and ready
to go. Update various files to have the correct date, time, version, and floor. Rework Script/Main.py and QMTest/TestSCons.py to make automated updating possible in the future. Remove a duplicate MANIFEST-xml.in entry. Fix TeX tests, which ran 'kpsewitch' before determining if the TeX tools were installed.
Diffstat (limited to 'QMTest/TestSCons.py')
-rw-r--r--QMTest/TestSCons.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py
index 0668f9d..a5529f4 100644
--- a/QMTest/TestSCons.py
+++ b/QMTest/TestSCons.py
@@ -31,10 +31,13 @@ from TestCommon import __all__
# here provides some independent verification that what we packaged
# conforms to what we expect.
-default_version = '1.3.0'
+default_version = '2.0.0'
copyright_years = '2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010'
+python_version_unsupported = (2, 3, 0)
+python_version_deprecated = (2, 4, 0)
+
# In the checked-in source, the value of SConsVersion in the following
# line must remain "__ VERSION __" (without the spaces) so the built
# version in build/QMTest/TestSCons.py contains the actual version
@@ -150,10 +153,10 @@ def python_minor_version_string():
return sys.version[:3]
def unsupported_python_version(version=sys.version_info):
- return version < (2, 3, 0)
+ return version < python_version_unsupported
def deprecated_python_version(version=sys.version_info):
- return version < (2, 4, 0)
+ return version < python_version_deprecated
if deprecated_python_version():
msg = r"""