mirror of https://gitlab.com/ita1024/waf.git
we require python >= 2.4 now
This commit is contained in:
parent
6b151e7314
commit
7d9f224841
|
@ -1,6 +1,8 @@
|
||||||
NEW IN WAF 1.7.0
|
NEW IN WAF 1.7.0
|
||||||
----------------
|
----------------
|
||||||
* Do not load the compat15 tool by default
|
* Do not load the compat15 tool by default
|
||||||
|
* Minor API cleanup
|
||||||
|
* Require Python >= 2.4
|
||||||
|
|
||||||
NEW IN WAF 1.6.11
|
NEW IN WAF 1.6.11
|
||||||
-----------------
|
-----------------
|
||||||
|
|
9
wscript
9
wscript
|
@ -210,10 +210,11 @@ def sfilter(path):
|
||||||
|
|
||||||
f.close()
|
f.close()
|
||||||
if path.endswith('.py') :
|
if path.endswith('.py') :
|
||||||
cnt = process_decorators(cnt)
|
# 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:
|
||||||
if cnt.find('set(') > -1:
|
#cnt = process_decorators(cnt)
|
||||||
cnt = 'import sys\nif sys.hexversion < 0x020400f0: from sets import Set as set\n' + cnt
|
#if cnt.find('set(') > -1:
|
||||||
|
# cnt = 'import sys\nif sys.hexversion < 0x020400f0: from sets import Set as set\n' + cnt
|
||||||
cnt = '#! /usr/bin/env python\n# encoding: utf-8\n# WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file\n\n' + cnt
|
cnt = '#! /usr/bin/env python\n# encoding: utf-8\n# WARNING! Do not edit! http://waf.googlecode.com/git/docs/wafbook/single.html#_obtaining_the_waf_file\n\n' + cnt
|
||||||
|
|
||||||
return (io.BytesIO(cnt.encode('utf-8')), len(cnt), cnt)
|
return (io.BytesIO(cnt.encode('utf-8')), len(cnt), cnt)
|
||||||
|
|
Loading…
Reference in New Issue