diff --git a/SConstruct b/SConstruct index 6f4a432..a731c83 100644 --- a/SConstruct +++ b/SConstruct @@ -3,9 +3,7 @@ import os import platform import sys -import subprocess from pathlib import Path -from SCons.Errors import UserError EnsureSConsVersion(4, 0) diff --git a/godot-tools/macos.py b/godot-tools/macos.py index 2e4bfc6..e8fe799 100644 --- a/godot-tools/macos.py +++ b/godot-tools/macos.py @@ -1,4 +1,3 @@ -import os import sys import macos_osxcross diff --git a/godot-tools/targets.py b/godot-tools/targets.py index 8ad3ddd..5ded42b 100644 --- a/godot-tools/targets.py +++ b/godot-tools/targets.py @@ -1,7 +1,5 @@ -import os -import sys from SCons.Script import ARGUMENTS -from SCons.Variables import * +from SCons.Variables import BoolVariable, EnumVariable from SCons.Variables.BoolVariable import _text2bool diff --git a/godot-tools/windows.py b/godot-tools/windows.py index 5ccec45..1ab4093 100644 --- a/godot-tools/windows.py +++ b/godot-tools/windows.py @@ -1,9 +1,10 @@ +import os import sys import my_spawn from SCons.Tool import msvc, mingw -from SCons.Variables import * +from SCons.Variables import BoolVariable def options(opts):