summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-09-10 11:38:52 +0100
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-09-10 11:38:52 +0100
commite3d698dae9c7d17bb3eba4025e83ebaf124f7f6e (patch)
treed1a8e086e19a90aa029a67dcad47e9c6da50d212
parentf19c400bedf3f975e2e31cfabaaec9446461c68a (diff)
Remove unused Python imports.
-rw-r--r--SConstruct2
-rw-r--r--core/SCsub1
-rw-r--r--core/input/SCsub1
-rw-r--r--main/main_builders.py1
-rw-r--r--modules/denoise/resource_to_cpp.py2
-rw-r--r--modules/mono/build_scripts/mono_configure.py1
-rw-r--r--platform/osx/detect.py1
7 files changed, 0 insertions, 9 deletions
diff --git a/SConstruct b/SConstruct
index 64a4c48eff..b7b0321039 100644
--- a/SConstruct
+++ b/SConstruct
@@ -13,8 +13,6 @@ from collections import OrderedDict
# Local
import methods
import glsl_builders
-import version
-from platform_methods import run_in_subprocess
# Scan possible build platforms
diff --git a/core/SCsub b/core/SCsub
index 40ee78d3ea..16ee49d003 100644
--- a/core/SCsub
+++ b/core/SCsub
@@ -4,7 +4,6 @@ Import("env")
import core_builders
import make_binders
-from platform_methods import run_in_subprocess
env.core_sources = []
diff --git a/core/input/SCsub b/core/input/SCsub
index f40978911b..740398b266 100644
--- a/core/input/SCsub
+++ b/core/input/SCsub
@@ -2,7 +2,6 @@
Import("env")
-from platform_methods import run_in_subprocess
import input_builders
diff --git a/main/main_builders.py b/main/main_builders.py
index 2ea774e3b4..aa91201c3e 100644
--- a/main/main_builders.py
+++ b/main/main_builders.py
@@ -4,7 +4,6 @@ All such functions are invoked in a subprocess on Windows to prevent build flaki
"""
from platform_methods import subprocess_main
-from collections import OrderedDict
def make_splash(target, source, env):
diff --git a/modules/denoise/resource_to_cpp.py b/modules/denoise/resource_to_cpp.py
index 4c0b67f701..6c83277355 100644
--- a/modules/denoise/resource_to_cpp.py
+++ b/modules/denoise/resource_to_cpp.py
@@ -17,8 +17,6 @@
## ======================================================================== ##
import os
-import sys
-import argparse
from array import array
# Generates a C++ file from the specified binary resource file
diff --git a/modules/mono/build_scripts/mono_configure.py b/modules/mono/build_scripts/mono_configure.py
index 3e771e06f0..e959312393 100644
--- a/modules/mono/build_scripts/mono_configure.py
+++ b/modules/mono/build_scripts/mono_configure.py
@@ -1,6 +1,5 @@
import os
import os.path
-import sys
import subprocess
from SCons.Script import Dir, Environment
diff --git a/platform/osx/detect.py b/platform/osx/detect.py
index a4a382f3a9..6fc1dc65af 100644
--- a/platform/osx/detect.py
+++ b/platform/osx/detect.py
@@ -1,6 +1,5 @@
import os
import sys
-import subprocess
from methods import detect_darwin_sdk_path