diff options
author | Steven Knight <knight@baldmt.com> | 2002-02-04 04:11:08 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-02-04 04:11:08 (GMT) |
commit | c6ee835808199bcd2bebecd7e463c6fe48b1bed1 (patch) | |
tree | 119376a891c8497b53f80f47a8085475b5cd34dc /SConstruct | |
parent | 5e8517111e036d0dfd191a8ad41e41bbf0950c2e (diff) | |
download | SCons-c6ee835808199bcd2bebecd7e463c6fe48b1bed1.zip SCons-c6ee835808199bcd2bebecd7e463c6fe48b1bed1.tar.gz SCons-c6ee835808199bcd2bebecd7e463c6fe48b1bed1.tar.bz2 |
Finally, eat our own dog food: start using SCons to build its own packages.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -34,6 +34,7 @@ import sys import time project = 'scons' +default_version = '0.05' Default('.') @@ -96,7 +97,7 @@ except: if aesub: revision = os.popen(aesub + " \\$version", "r").read()[:-1] else: - revision = '0.04' + revision = default_version a = string.split(revision, '.') arr = [a[0]] @@ -120,7 +121,7 @@ revision = string.join(arr, '.') # return str #arr = map(lambda x, xxx=xxx: xxx(x), arr) #version = string.join(arr, '.') -version = '0.04' +version = default_version try: change = ARGUMENTS['change'] @@ -128,7 +129,7 @@ except: if aesub: change = os.popen(aesub + " \\$change", "r").read()[:-1] else: - change = '0.04' + change = default_version python_ver = sys.version[0:3] |