Remove unused imports
This commit is contained in:
parent
cc3e660d7e
commit
49a81308c0
|
@ -5,7 +5,6 @@ EnsureSConsVersion(0, 98, 1)
|
||||||
# System
|
# System
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
import string
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# Local
|
# Local
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import sys
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
from collections import defaultdict, OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
# Uncomment to do type checks. I have it commented out so it works below Python 3.5
|
# Uncomment to do type checks. I have it commented out so it works below Python 3.5
|
||||||
#from typing import List, Dict, TextIO, Tuple, Iterable, Optional, DefaultDict, Any, Union
|
#from typing import List, Dict, TextIO, Tuple, Iterable, Optional, DefaultDict, Any, Union
|
||||||
|
|
|
@ -6,7 +6,7 @@ All such functions are invoked in a subprocess on Windows to prevent build flaki
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
from platform_methods import subprocess_main
|
from platform_methods import subprocess_main
|
||||||
from compat import encode_utf8, byte_to_str, open_utf8, escape_string
|
from compat import encode_utf8, byte_to_str, open_utf8
|
||||||
|
|
||||||
|
|
||||||
def make_doc_header(target, source, env):
|
def make_doc_header(target, source, env):
|
||||||
|
|
|
@ -4,7 +4,6 @@ import sys
|
||||||
import re
|
import re
|
||||||
import glob
|
import glob
|
||||||
import string
|
import string
|
||||||
import datetime
|
|
||||||
import subprocess
|
import subprocess
|
||||||
from compat import iteritems, isbasestring, decode_utf8
|
from compat import iteritems, isbasestring, decode_utf8
|
||||||
|
|
||||||
|
|
|
@ -257,7 +257,6 @@ def find_msbuild_windows():
|
||||||
|
|
||||||
def mono_build_solution(source, target, env):
|
def mono_build_solution(source, target, env):
|
||||||
import subprocess
|
import subprocess
|
||||||
import mono_reg_utils as monoreg
|
|
||||||
from shutil import copyfile
|
from shutil import copyfile
|
||||||
|
|
||||||
sln_path = os.path.abspath(str(source[0]))
|
sln_path = os.path.abspath(str(source[0]))
|
||||||
|
|
|
@ -5,7 +5,7 @@ import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
from distutils.version import LooseVersion
|
from distutils.version import LooseVersion
|
||||||
from SCons.Script import BoolVariable, Dir, Environment, File, SCons, Variables
|
from SCons.Script import BoolVariable, Dir, Environment, Variables
|
||||||
|
|
||||||
|
|
||||||
monoreg = imp.load_source('mono_reg_utils', 'modules/mono/mono_reg_utils.py')
|
monoreg = imp.load_source('mono_reg_utils', 'modules/mono/mono_reg_utils.py')
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
Import('env')
|
Import('env')
|
||||||
|
|
||||||
import shutil
|
|
||||||
from compat import open_utf8
|
from compat import open_utf8
|
||||||
from distutils.version import LooseVersion
|
from distutils.version import LooseVersion
|
||||||
from detect import get_ndk_version
|
from detect import get_ndk_version
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import string
|
|
||||||
import platform
|
import platform
|
||||||
from distutils.version import LooseVersion
|
from distutils.version import LooseVersion
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
Import('env')
|
Import('env')
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
iphone_lib = [
|
iphone_lib = [
|
||||||
'godot_iphone.cpp',
|
'godot_iphone.cpp',
|
||||||
'os_iphone.cpp',
|
'os_iphone.cpp',
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import os
|
import os
|
||||||
import string
|
|
||||||
import sys
|
import sys
|
||||||
from methods import detect_darwin_sdk_path
|
from methods import detect_darwin_sdk_path
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
|
|
||||||
|
|
||||||
def is_active():
|
def is_active():
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
Import('env')
|
Import('env')
|
||||||
|
|
||||||
import os
|
|
||||||
from platform_methods import run_in_subprocess
|
from platform_methods import run_in_subprocess
|
||||||
import platform_osx_builders
|
import platform_osx_builders
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os
|
|
||||||
import platform
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
Import('env')
|
Import('env')
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import methods
|
import methods
|
||||||
import os
|
import os
|
||||||
import string
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
@ -25,8 +24,6 @@ def can_build():
|
||||||
|
|
||||||
|
|
||||||
def get_opts():
|
def get_opts():
|
||||||
from SCons.Variables import BoolVariable
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
('msvc_version', 'MSVC version to use (ignored if the VCINSTALLDIR environment variable is set)', None),
|
('msvc_version', 'MSVC version to use (ignored if the VCINSTALLDIR environment variable is set)', None),
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import methods
|
import methods
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
|
|
||||||
|
|
||||||
def is_active():
|
def is_active():
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
Import('env')
|
Import('env')
|
||||||
|
|
||||||
import os
|
|
||||||
from platform_methods import run_in_subprocess
|
from platform_methods import run_in_subprocess
|
||||||
import platform_x11_builders
|
import platform_x11_builders
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
import os
|
import os
|
||||||
import platform
|
import platform
|
||||||
import sys
|
import sys
|
||||||
from compat import decode_utf8
|
|
||||||
from methods import get_compiler_version, using_gcc
|
from methods import get_compiler_version, using_gcc
|
||||||
|
|
||||||
|
|
||||||
def is_active():
|
def is_active():
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import os
|
|
||||||
import glob
|
import glob
|
||||||
import string
|
|
||||||
|
|
||||||
enc = "utf-8"
|
enc = "utf-8"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue