[jhbuild/pre-3-cleanup: 4/6] Remove unused imports
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild/pre-3-cleanup: 4/6] Remove unused imports
- Date: Sat, 21 Sep 2019 20:08:55 +0000 (UTC)
commit a855342d6ab24d40f2685ca068ebcafdba13199f
Author: Christoph Reiter <reiter christoph gmail com>
Date: Sat Sep 21 21:32:25 2019 +0200
Remove unused imports
.flake8 | 2 +-
jhbuild/commands/__init__.py | 5 ++++-
jhbuild/commands/autobuild.py | 1 -
jhbuild/commands/base.py | 6 ------
jhbuild/commands/checkmodulesets.py | 4 ----
jhbuild/commands/clean.py | 2 +-
jhbuild/commands/goalreport.py | 1 -
jhbuild/commands/info.py | 1 -
jhbuild/commands/make.py | 3 ---
jhbuild/commands/rdepends.py | 2 +-
jhbuild/commands/sanitycheck.py | 4 ++--
jhbuild/commands/snapshot.py | 3 ---
jhbuild/commands/sysdeps.py | 1 -
jhbuild/commands/tinderbox.py | 1 -
jhbuild/commands/uninstall.py | 3 +--
jhbuild/config.py | 3 ++-
jhbuild/environment.py | 1 -
jhbuild/frontends/gtkui.py | 1 -
jhbuild/frontends/terminal.py | 1 -
jhbuild/frontends/tinderbox.py | 2 --
jhbuild/main.py | 2 --
jhbuild/modtypes/autotools.py | 2 +-
jhbuild/modtypes/cmake.py | 2 +-
jhbuild/modtypes/distutils.py | 1 -
jhbuild/modtypes/meson.py | 4 ++--
jhbuild/modtypes/perl.py | 1 -
jhbuild/modtypes/tarball.py | 1 -
jhbuild/modtypes/testmodule.py | 5 ++---
jhbuild/modtypes/waf.py | 4 +---
jhbuild/moduleset.py | 3 +--
jhbuild/monkeypatch.py | 1 -
jhbuild/utils/__init__.py | 4 +++-
jhbuild/utils/fileutils.py | 1 -
jhbuild/utils/packagedb.py | 5 +----
jhbuild/utils/systeminstall.py | 1 -
jhbuild/utils/trigger.py | 2 --
jhbuild/versioncontrol/__init__.py | 2 +-
jhbuild/versioncontrol/bzr.py | 1 -
jhbuild/versioncontrol/fossil.py | 1 -
jhbuild/versioncontrol/git.py | 1 -
jhbuild/versioncontrol/hg.py | 1 -
tests/distutils/setup.py | 2 +-
42 files changed, 26 insertions(+), 68 deletions(-)
---
diff --git a/.flake8 b/.flake8
index bde382f0..ea2450cd 100644
--- a/.flake8
+++ b/.flake8
@@ -1,5 +1,5 @@
[flake8]
-ignore=E122,E402,E126,E128,F401,E401,W504,W503,E201,E302,E305,E251,E203,E124,E231,W293,E261,E221,E211,E502,E722,W391,E301,E202,E225,E227,W291,E303,E226,E131,E123,E241,W292
+ignore=E122,E402,E126,E128,E401,W504,W503,E201,E302,E305,E251,E203,E124,E231,W293,E261,E221,E211,E502,E722,W391,E301,E202,E225,E227,W291,E303,E226,E131,E123,E241,W292
max-line-length=160
builtins=SRCDIR,_,N_,PKGDATADIR,DATADIR
exclude=jhbuild/modtypes/linux.py
\ No newline at end of file
diff --git a/jhbuild/commands/__init__.py b/jhbuild/commands/__init__.py
index 0fdcfc01..953482c9 100644
--- a/jhbuild/commands/__init__.py
+++ b/jhbuild/commands/__init__.py
@@ -30,7 +30,7 @@ import optparse
import sys
import os
-from jhbuild.errors import UsageError, FatalError
+from jhbuild.errors import FatalError
from jhbuild.utils import try_import_module, uprint, uencode
@@ -189,3 +189,6 @@ def run(command, config, args, help):
from jhbuild.commands import base
+
+# flake8: base inits things at import
+base
\ No newline at end of file
diff --git a/jhbuild/commands/autobuild.py b/jhbuild/commands/autobuild.py
index fdebc943..8ad6828f 100644
--- a/jhbuild/commands/autobuild.py
+++ b/jhbuild/commands/autobuild.py
@@ -22,7 +22,6 @@ from optparse import make_option
from jhbuild.errors import UsageError, FatalError
from jhbuild.commands.base import Command, register_command
import jhbuild.frontends
-import optparse
class cmd_autobuild(Command):
doc = N_('Build modules non-interactively and upload results to JhAutobuild')
diff --git a/jhbuild/commands/base.py b/jhbuild/commands/base.py
index 2fdf0a3c..a9de1675 100644
--- a/jhbuild/commands/base.py
+++ b/jhbuild/commands/base.py
@@ -18,11 +18,6 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import optparse
-import re
-import stat
-import sys
-import time
from optparse import make_option
import logging
@@ -31,7 +26,6 @@ import jhbuild.frontends
from jhbuild.errors import UsageError, FatalError, CommandError
from jhbuild.commands import Command, BuildCommand, register_command
from jhbuild.utils import uprint
-from jhbuild.config import parse_relative_time
class cmd_update(Command):
diff --git a/jhbuild/commands/checkmodulesets.py b/jhbuild/commands/checkmodulesets.py
index c7d451dd..1b13472a 100644
--- a/jhbuild/commands/checkmodulesets.py
+++ b/jhbuild/commands/checkmodulesets.py
@@ -17,10 +17,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-
-import urllib2
-from optparse import make_option
import logging
import jhbuild.moduleset
diff --git a/jhbuild/commands/clean.py b/jhbuild/commands/clean.py
index f597ad36..a7442959 100644
--- a/jhbuild/commands/clean.py
+++ b/jhbuild/commands/clean.py
@@ -21,7 +21,7 @@ from optparse import make_option
import jhbuild.moduleset
import jhbuild.frontends
-from jhbuild.errors import UsageError, FatalError
+from jhbuild.errors import FatalError
from jhbuild.commands import Command, register_command
diff --git a/jhbuild/commands/goalreport.py b/jhbuild/commands/goalreport.py
index 514665c2..53a61b64 100644
--- a/jhbuild/commands/goalreport.py
+++ b/jhbuild/commands/goalreport.py
@@ -44,7 +44,6 @@ try:
except ImportError:
curses = None
-from jhbuild.errors import FatalError
import jhbuild.moduleset
from jhbuild.commands import Command, register_command
from jhbuild.utils import httpcache, cmds
diff --git a/jhbuild/commands/info.py b/jhbuild/commands/info.py
index 1347e1a3..456f186c 100644
--- a/jhbuild/commands/info.py
+++ b/jhbuild/commands/info.py
@@ -17,7 +17,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import sys
import time
from optparse import make_option
diff --git a/jhbuild/commands/make.py b/jhbuild/commands/make.py
index e49d0169..44281cc3 100644
--- a/jhbuild/commands/make.py
+++ b/jhbuild/commands/make.py
@@ -20,13 +20,10 @@
import logging
import os
import pipes
-import sys
-import time
from optparse import make_option
import jhbuild.moduleset
import jhbuild.frontends
-from jhbuild.errors import FatalError
from jhbuild.commands import Command, register_command
class cmd_make(Command):
diff --git a/jhbuild/commands/rdepends.py b/jhbuild/commands/rdepends.py
index 4faa2b4d..4ecbeee0 100644
--- a/jhbuild/commands/rdepends.py
+++ b/jhbuild/commands/rdepends.py
@@ -21,7 +21,7 @@ from optparse import make_option
import jhbuild.moduleset
from jhbuild.commands import Command, register_command
-from jhbuild.errors import UsageError, FatalError, CommandError
+from jhbuild.errors import FatalError
from jhbuild.utils import uprint
diff --git a/jhbuild/commands/sanitycheck.py b/jhbuild/commands/sanitycheck.py
index be6b95f1..94d0e01e 100644
--- a/jhbuild/commands/sanitycheck.py
+++ b/jhbuild/commands/sanitycheck.py
@@ -17,9 +17,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-import sys
import os
-import re
from jhbuild.commands import Command, register_command
from jhbuild.utils.cmds import get_output, check_version
@@ -138,10 +136,12 @@ class cmd_sanitycheck(Command):
# check for "sysdeps --install" deps:
try:
import glib
+ glib
except:
uprint(_('%s not found') % 'python-gobject')
try:
import dbus.glib
+ dbus.glib
except:
uprint(_('%s not found') % 'dbus-python')
diff --git a/jhbuild/commands/snapshot.py b/jhbuild/commands/snapshot.py
index e9e26518..80396cbf 100644
--- a/jhbuild/commands/snapshot.py
+++ b/jhbuild/commands/snapshot.py
@@ -21,9 +21,6 @@
from __future__ import print_function
-import urllib2
-from optparse import make_option
-
import jhbuild.moduleset
from jhbuild.commands import Command, register_command
diff --git a/jhbuild/commands/sysdeps.py b/jhbuild/commands/sysdeps.py
index d626d027..eef5a801 100644
--- a/jhbuild/commands/sysdeps.py
+++ b/jhbuild/commands/sysdeps.py
@@ -21,7 +21,6 @@ from __future__ import print_function
from optparse import make_option
import logging
-import os.path
import sys
import jhbuild.moduleset
diff --git a/jhbuild/commands/tinderbox.py b/jhbuild/commands/tinderbox.py
index 2526af0c..3aae113f 100644
--- a/jhbuild/commands/tinderbox.py
+++ b/jhbuild/commands/tinderbox.py
@@ -22,7 +22,6 @@ from optparse import make_option
from jhbuild.errors import UsageError, FatalError
from jhbuild.commands import Command, BuildCommand, register_command
import jhbuild.frontends
-import optparse
class cmd_tinderbox(BuildCommand):
diff --git a/jhbuild/commands/uninstall.py b/jhbuild/commands/uninstall.py
index 3428a8bc..03f59311 100644
--- a/jhbuild/commands/uninstall.py
+++ b/jhbuild/commands/uninstall.py
@@ -18,11 +18,10 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import logging
-from optparse import make_option
import jhbuild.moduleset
import jhbuild.frontends
-from jhbuild.errors import UsageError, FatalError
+from jhbuild.errors import FatalError
from jhbuild.commands import Command, register_command
from jhbuild.modtypes.autotools import AutogenModule
diff --git a/jhbuild/config.py b/jhbuild/config.py
index dcde3168..d52b4ebe 100644
--- a/jhbuild/config.py
+++ b/jhbuild/config.py
@@ -27,7 +27,6 @@ import traceback
import time
import types
import logging
-import __builtin__
from jhbuild.environment import setup_env, setup_env_defaults, addpath
from jhbuild.errors import FatalError
@@ -37,6 +36,7 @@ from jhbuild.utils.compat import execfile
if sys.platform.startswith('win'):
# For munging paths for MSYS's benefit
import jhbuild.utils.subprocess_win32
+ jhbuild.utils.subprocess_win32
__all__ = [ 'Config' ]
@@ -400,6 +400,7 @@ class Config:
if k == 'quiet_mode' and v:
try:
import curses
+ curses
logging.getLogger().setLevel(logging.ERROR)
except ImportError:
logging.warning(
diff --git a/jhbuild/environment.py b/jhbuild/environment.py
index 6cda0997..4c2bfe39 100644
--- a/jhbuild/environment.py
+++ b/jhbuild/environment.py
@@ -23,7 +23,6 @@ import sys
import os
from distutils.sysconfig import get_python_lib
-from jhbuild.errors import FatalError, CommandError
from jhbuild.utils.cmds import get_output
if sys.platform.startswith('win'):
diff --git a/jhbuild/frontends/gtkui.py b/jhbuild/frontends/gtkui.py
index 3d26f673..b2c9a6c3 100644
--- a/jhbuild/frontends/gtkui.py
+++ b/jhbuild/frontends/gtkui.py
@@ -29,7 +29,6 @@ import fcntl
import select
import subprocess
-import gobject
import gtk
import pango
try:
diff --git a/jhbuild/frontends/terminal.py b/jhbuild/frontends/terminal.py
index e2f0bf01..3ce8690d 100644
--- a/jhbuild/frontends/terminal.py
+++ b/jhbuild/frontends/terminal.py
@@ -25,7 +25,6 @@ import os
import signal
import subprocess
import unicodedata
-import locale
from jhbuild.frontends import buildscript
from jhbuild.utils import cmds
diff --git a/jhbuild/frontends/tinderbox.py b/jhbuild/frontends/tinderbox.py
index 67771cd7..3e5b783f 100644
--- a/jhbuild/frontends/tinderbox.py
+++ b/jhbuild/frontends/tinderbox.py
@@ -20,7 +20,6 @@
import os
import time
import subprocess
-import locale
import logging
import codecs
import sys
@@ -31,7 +30,6 @@ from jhbuild.utils import sysid
from jhbuild.errors import CommandError, FatalError
from jhbuild.utils.compat import string_types, text_type
import buildscript
-import commands
index_header = '''<html>
<head>
diff --git a/jhbuild/main.py b/jhbuild/main.py
index 5285e6b8..a234f8d7 100644
--- a/jhbuild/main.py
+++ b/jhbuild/main.py
@@ -21,7 +21,6 @@ from __future__ import print_function
import sys, os, errno
import optparse
-import traceback
import logging
import gettext
@@ -31,7 +30,6 @@ __builtin__.__dict__['N_'] = lambda x: x
import jhbuild.config
import jhbuild.commands
from jhbuild.errors import UsageError, FatalError
-from jhbuild.utils.cmds import get_output
from jhbuild.utils import uprint, _encoding
from jhbuild.moduleset import warn_local_modulesets
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index a7121080..b3490697 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -27,7 +27,7 @@ try:
except ImportError:
import md5 as hashlib
-from jhbuild.errors import FatalError, BuildStateError, CommandError
+from jhbuild.errors import FatalError, CommandError
from jhbuild.modtypes import \
DownloadableModule, register_module_type, MakeModule
from jhbuild.versioncontrol.tarball import TarballBranch
diff --git a/jhbuild/modtypes/cmake.py b/jhbuild/modtypes/cmake.py
index 917d33b4..69ff30a6 100644
--- a/jhbuild/modtypes/cmake.py
+++ b/jhbuild/modtypes/cmake.py
@@ -22,7 +22,7 @@ __metaclass__ = type
import os
import shutil
-from jhbuild.errors import BuildStateError, CommandError
+from jhbuild.errors import CommandError
from jhbuild.modtypes import \
Package, DownloadableModule, register_module_type, MakeModule, NinjaModule
from jhbuild.modtypes.autotools import collect_args
diff --git a/jhbuild/modtypes/distutils.py b/jhbuild/modtypes/distutils.py
index bb7ce8f5..77f934b8 100644
--- a/jhbuild/modtypes/distutils.py
+++ b/jhbuild/modtypes/distutils.py
@@ -21,7 +21,6 @@ __metaclass__ = type
import os
-from jhbuild.errors import BuildStateError
from jhbuild.modtypes import \
Package, DownloadableModule, register_module_type
diff --git a/jhbuild/modtypes/meson.py b/jhbuild/modtypes/meson.py
index b56e92bb..d2b82138 100644
--- a/jhbuild/modtypes/meson.py
+++ b/jhbuild/modtypes/meson.py
@@ -22,11 +22,11 @@ __metaclass__ = type
import os
import shutil
-from jhbuild.errors import BuildStateError, CommandError
+from jhbuild.errors import CommandError
from jhbuild.modtypes import \
Package, DownloadableModule, register_module_type, NinjaModule
from jhbuild.modtypes.autotools import collect_args
-from jhbuild.utils import inpath, fileutils
+from jhbuild.utils import inpath
__all__ = [ 'MesonModule' ]
diff --git a/jhbuild/modtypes/perl.py b/jhbuild/modtypes/perl.py
index 0a6b8771..89e99b13 100644
--- a/jhbuild/modtypes/perl.py
+++ b/jhbuild/modtypes/perl.py
@@ -21,7 +21,6 @@ __metaclass__ = type
import os
-from jhbuild.errors import BuildStateError
from jhbuild.modtypes import \
Package, DownloadableModule, register_module_type
diff --git a/jhbuild/modtypes/tarball.py b/jhbuild/modtypes/tarball.py
index 81e8e089..40d32b47 100644
--- a/jhbuild/modtypes/tarball.py
+++ b/jhbuild/modtypes/tarball.py
@@ -19,7 +19,6 @@
__metaclass__ = type
-import sys
import logging
try:
diff --git a/jhbuild/modtypes/testmodule.py b/jhbuild/modtypes/testmodule.py
index 605472cf..31d9351c 100644
--- a/jhbuild/modtypes/testmodule.py
+++ b/jhbuild/modtypes/testmodule.py
@@ -19,17 +19,16 @@
__metaclass__ = type
-import os, time, signal, sys, subprocess, random, tempfile
+import os, time, signal, subprocess, random, tempfile
try:
import hashlib
except ImportError:
import md5 as hashlib
-from jhbuild.errors import FatalError, CommandError, BuildStateError
+from jhbuild.errors import CommandError, BuildStateError
from jhbuild.modtypes import \
Package, DownloadableModule, register_module_type
-from jhbuild.modtypes.autotools import AutogenModule
import xml.dom.minidom
diff --git a/jhbuild/modtypes/waf.py b/jhbuild/modtypes/waf.py
index cbc194cf..27ea717c 100644
--- a/jhbuild/modtypes/waf.py
+++ b/jhbuild/modtypes/waf.py
@@ -22,12 +22,10 @@
__metaclass__ = type
import os
-import re
-from jhbuild.errors import FatalError, BuildStateError, CommandError
+from jhbuild.errors import CommandError
from jhbuild.modtypes import \
Package, DownloadableModule, register_module_type
-from jhbuild.utils import inpath
__all__ = [ 'WafModule' ]
diff --git a/jhbuild/moduleset.py b/jhbuild/moduleset.py
index e8e2ab7b..3aa3578d 100644
--- a/jhbuild/moduleset.py
+++ b/jhbuild/moduleset.py
@@ -24,7 +24,7 @@ import sys
import urlparse
import logging
-from jhbuild.errors import UsageError, FatalError, DependencyCycleError, \
+from jhbuild.errors import UsageError, FatalError, \
CommandError, UndefinedRepositoryError
try:
@@ -277,7 +277,6 @@ class ModuleSet:
def write_dot(self, modules=None, fp=sys.stdout, suggests=False, clusters=False):
from jhbuild.modtypes import MetaModule
- from jhbuild.modtypes.autotools import AutogenModule
from jhbuild.versioncontrol.tarball import TarballBranch
if modules is None:
diff --git a/jhbuild/monkeypatch.py b/jhbuild/monkeypatch.py
index cee22aa4..39094a0c 100644
--- a/jhbuild/monkeypatch.py
+++ b/jhbuild/monkeypatch.py
@@ -18,7 +18,6 @@
# extras not found in old versions of Python
import sys
-import __builtin__
# Windows lacks all sorts of subprocess features that we need to kludge around
if sys.platform.startswith('win'):
diff --git a/jhbuild/utils/__init__.py b/jhbuild/utils/__init__.py
index 4cdbda43..cbb1fd68 100644
--- a/jhbuild/utils/__init__.py
+++ b/jhbuild/utils/__init__.py
@@ -17,4 +17,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-from .misc import inpath, try_import_module, uencode, udecode, uprint, _encoding
\ No newline at end of file
+from .misc import inpath, try_import_module, uencode, udecode, uprint, _encoding
+
+inpath, try_import_module, uencode, udecode, uprint, _encoding
\ No newline at end of file
diff --git a/jhbuild/utils/fileutils.py b/jhbuild/utils/fileutils.py
index dc1128e6..3afab5e3 100644
--- a/jhbuild/utils/fileutils.py
+++ b/jhbuild/utils/fileutils.py
@@ -20,7 +20,6 @@
# Author: Colin Walters <walters verbum org>
import os
-import sys
import errno
def _accumulate_dirtree_contents_recurse(path, contents):
diff --git a/jhbuild/utils/packagedb.py b/jhbuild/utils/packagedb.py
index 6dfee356..315f56fa 100644
--- a/jhbuild/utils/packagedb.py
+++ b/jhbuild/utils/packagedb.py
@@ -18,11 +18,10 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
import time
import logging
import errno
-import xml.dom.minidom as DOM
+
try:
import hashlib
except ImportError:
@@ -33,8 +32,6 @@ try:
except ImportError:
import elementtree.ElementTree as ET
-from StringIO import StringIO
-
from jhbuild.utils import fileutils
def _parse_isotime(string):
diff --git a/jhbuild/utils/systeminstall.py b/jhbuild/utils/systeminstall.py
index 77d5d93e..93f92f14 100644
--- a/jhbuild/utils/systeminstall.py
+++ b/jhbuild/utils/systeminstall.py
@@ -24,7 +24,6 @@ import sys
import logging
import shlex
import subprocess
-import pipes
import imp
import textwrap
import time
diff --git a/jhbuild/utils/trigger.py b/jhbuild/utils/trigger.py
index c720383d..85356725 100644
--- a/jhbuild/utils/trigger.py
+++ b/jhbuild/utils/trigger.py
@@ -18,8 +18,6 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
import os
-import sys
-import subprocess
import re
from jhbuild.utils import cmds
diff --git a/jhbuild/versioncontrol/__init__.py b/jhbuild/versioncontrol/__init__.py
index 48bccd27..60fc6e69 100644
--- a/jhbuild/versioncontrol/__init__.py
+++ b/jhbuild/versioncontrol/__init__.py
@@ -26,7 +26,7 @@ __all__ = [
__metaclass__ = type
-from jhbuild.errors import FatalError, BuildStateError
+from jhbuild.errors import FatalError
from jhbuild.utils import try_import_module
import os
diff --git a/jhbuild/versioncontrol/bzr.py b/jhbuild/versioncontrol/bzr.py
index b93c74f0..1a0c35ec 100644
--- a/jhbuild/versioncontrol/bzr.py
+++ b/jhbuild/versioncontrol/bzr.py
@@ -21,7 +21,6 @@ __all__ = []
__metaclass__ = type
import os
-import errno
import urlparse
import logging
diff --git a/jhbuild/versioncontrol/fossil.py b/jhbuild/versioncontrol/fossil.py
index 0708a132..b581e690 100644
--- a/jhbuild/versioncontrol/fossil.py
+++ b/jhbuild/versioncontrol/fossil.py
@@ -22,7 +22,6 @@ __all__ = []
__metaclass__ = type
import os
-import sys
import urlparse
from subprocess import Popen, PIPE
diff --git a/jhbuild/versioncontrol/git.py b/jhbuild/versioncontrol/git.py
index 2670719f..c677105f 100644
--- a/jhbuild/versioncontrol/git.py
+++ b/jhbuild/versioncontrol/git.py
@@ -27,7 +27,6 @@ import urlparse
import subprocess
import re
import urllib
-import sys
import logging
from jhbuild.errors import FatalError, CommandError
diff --git a/jhbuild/versioncontrol/hg.py b/jhbuild/versioncontrol/hg.py
index 5a2ca2f7..52ba965e 100644
--- a/jhbuild/versioncontrol/hg.py
+++ b/jhbuild/versioncontrol/hg.py
@@ -22,7 +22,6 @@ __all__ = []
__metaclass__ = type
import os
-import sys
import urlparse
from subprocess import Popen, PIPE
diff --git a/tests/distutils/setup.py b/tests/distutils/setup.py
index 9aac3f05..f52c95f8 100644
--- a/tests/distutils/setup.py
+++ b/tests/distutils/setup.py
@@ -1,4 +1,4 @@
-from distutils.core import setup, Extension
+from distutils.core import setup
setup(name='hello', scripts=['hello'])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]