mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-21 09:27:17 +01:00
Remove old __future references__
This commit is contained in:
parent
7c73e0b4dd
commit
627780cbb7
@ -4,8 +4,6 @@
|
||||
A script that creates signed Python files.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import argparse
|
||||
import subprocess
|
||||
|
@ -4,8 +4,6 @@
|
||||
|
||||
"Module called for configuring, compiling and installing targets"
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
import os, shlex, shutil, traceback, errno, sys, stat
|
||||
from waflib import Utils, Configure, Logs, Options, ConfigSet, Context, Errors, Build, Node
|
||||
|
||||
|
@ -6,8 +6,6 @@
|
||||
C/C++/D configuration helpers
|
||||
"""
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
import os, re, shlex
|
||||
from waflib import Build, Utils, Task, Options, Logs, Errors, Runner
|
||||
from waflib.TaskGen import after_method, feature
|
||||
|
@ -27,8 +27,6 @@ Usage::
|
||||
Usage of the :py:mod:`waflib.Tools.gnu_dirs` is recommended, but not obligatory.
|
||||
"""
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
import os, re
|
||||
from waflib import Context, Task, Utils, Logs
|
||||
import waflib.Tools.ccroot
|
||||
|
@ -102,8 +102,6 @@ To use Qt6 set the want_qt6 attribute, ie:
|
||||
conf.want_qt6 = True;
|
||||
"""
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
try:
|
||||
from xml.sax import make_parser
|
||||
from xml.sax.handler import ContentHandler
|
||||
|
@ -9,8 +9,6 @@ The portability fixes try to provide a consistent behavior of the Waf API
|
||||
through Python versions 2.5 to 3.X and across different platforms (win32, linux, etc)
|
||||
"""
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
import atexit, os, sys, errno, inspect, re, datetime, platform, base64, signal, functools, time, shlex
|
||||
|
||||
try:
|
||||
|
1
waflib/extras/cpplint.py
vendored
1
waflib/extras/cpplint.py
vendored
@ -35,7 +35,6 @@ When using this tool, the wscript will look like:
|
||||
bld(features='cpplint', source=bld.path.ant_glob('**/*.hpp'))
|
||||
'''
|
||||
|
||||
from __future__ import absolute_import
|
||||
import sys, re
|
||||
import logging
|
||||
from waflib import Errors, Task, TaskGen, Logs, Options, Node, Utils
|
||||
|
2
wscript
2
wscript
@ -9,8 +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()'
|
||||
"""
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
VERSION="2.1.3"
|
||||
APPNAME='waf'
|
||||
REVISION=''
|
||||
|
Loading…
Reference in New Issue
Block a user