From d45b8447a87ce00ecc0976673e05bf78c7f388c5 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Tue, 8 Mar 2016 21:28:20 +0100 Subject: [PATCH] docs --- TODO | 1 - wscript | 10 ++++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/TODO b/TODO index 0580a562..57bd099d 100644 --- a/TODO +++ b/TODO @@ -8,6 +8,5 @@ Waf 1.9 * Use relative paths in apply_incpaths (and absolute ones when paths cross drives) * Provide a more efficient ConfigSet implementation * Ensure _cache.py are valid python files -* One task.idx per task node * Other issues listed on https://github.com/waf-project/waf/issues diff --git a/wscript b/wscript index 443ef500..2d0c8fc3 100644 --- a/wscript +++ b/wscript @@ -9,7 +9,6 @@ To add a tool that does not exist in the folder compat15, pass an absolute path: ./waf-light --tools=compat15,/comp/waf/aba.py --prelude=$'\tfrom waflib.extras import aba\n\taba.foo()' """ - VERSION="1.9.0" APPNAME='waf' REVISION='' @@ -29,7 +28,6 @@ from waflib import Configure Configure.autoconfig = 1 def sub_file(fname, lst): - f = open(fname, 'rU') try: txt = f.read() @@ -207,8 +205,8 @@ def sfilter(path): cnt = f.read() finally: f.close() - # WARNING: since we now require python 2.4, we do not process the decorators anymore - # if you need such a thing, uncomment the code below: + # WARNING: since python >= 2.5 is required, decorators are not processed anymore + # uncomment the following to enable decorator replacement: #cnt = process_decorators(cnt) #if cnt.find('set(') > -1: # cnt = 'import sys\nif sys.hexversion < 0x020400f0: from sets import Set as set\n' + cnt @@ -339,7 +337,7 @@ def create_waf(self, *k, **kw): finally: f.close() - # the REVISION value is the md5 sum of the binary blob (facilitate audits) + # the REVISION value is the md5 sum of the compressed data (facilitate audits) m = md5() m.update(cnt) REVISION = m.hexdigest() @@ -405,7 +403,7 @@ def configure(conf): conf.load('python') def build(bld): - waf = bld.path.make_node('waf') # create the node right here + waf = bld.path.make_node('waf') # do not use a build directory for this file bld(name='create_waf', rule=create_waf, target=waf, always=True, color='PINK') class Dist(Scripting.Dist):