summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setuptools/command/easy_install.py1
-rw-r--r--setuptools/tests/test_windows_wrappers.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 8333e94a..031b612f 100644
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -22,7 +22,6 @@ from distutils import log, dir_util
from distutils.command.build_scripts import first_line_re
from distutils.spawn import find_executable
import sys
-import platform
import os
import zipimport
import shutil
diff --git a/setuptools/tests/test_windows_wrappers.py b/setuptools/tests/test_windows_wrappers.py
index 05a604b2..8ac9bd07 100644
--- a/setuptools/tests/test_windows_wrappers.py
+++ b/setuptools/tests/test_windows_wrappers.py
@@ -51,6 +51,7 @@ class WrapperTester:
w = pkg_resources.resource_string('setuptools', cls.wrapper_source)
f.write(w)
+
def win_launcher_exe(prefix):
""" A simple routine to select launcher script based on platform."""
assert prefix in ('cli', 'gui')
@@ -59,6 +60,7 @@ def win_launcher_exe(prefix):
else:
return "{}-32.exe".format(prefix)
+
class TestCLI(WrapperTester):
script_name = 'foo-script.py'
wrapper_name = 'foo.exe'