summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 20:18:24 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 20:18:24 (GMT)
commit332a1461274c356d38f558b27096708879fc36b4 (patch)
tree4ac01bccd463b02d4111c3fc44b9dd04063f9c6a /Lib/distutils
parentcd8a1148e19116db109f27d26c02e1de536dc76e (diff)
downloadcpython-332a1461274c356d38f558b27096708879fc36b4.zip
cpython-332a1461274c356d38f558b27096708879fc36b4.tar.gz
cpython-332a1461274c356d38f558b27096708879fc36b4.tar.bz2
Remove unused imports caught by pychecker
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/command/bdist_pkgtool.py2
-rw-r--r--Lib/distutils/command/bdist_sdux.py1
-rw-r--r--Lib/distutils/filelist.py2
-rw-r--r--Lib/distutils/unixccompiler.py2
4 files changed, 2 insertions, 5 deletions
diff --git a/Lib/distutils/command/bdist_pkgtool.py b/Lib/distutils/command/bdist_pkgtool.py
index 4fd9501..9d6e7dc 100644
--- a/Lib/distutils/command/bdist_pkgtool.py
+++ b/Lib/distutils/command/bdist_pkgtool.py
@@ -7,7 +7,6 @@ Implements the Distutils 'bdist_pkgtool' command (create Solaris pkgtool
distributions)."""
import os, string, sys, pwd, grp
-import glob
from types import *
from distutils.core import Command, DEBUG
from distutils.util import get_platform
@@ -16,7 +15,6 @@ from distutils.errors import *
from distutils.command import bdist_packager
from distutils import sysconfig
from distutils import log
-import compileall
from commands import getoutput
__revision__ = "$Id: bdist_pkgtool.py,v 0.3 mwa "
diff --git a/Lib/distutils/command/bdist_sdux.py b/Lib/distutils/command/bdist_sdux.py
index e4765f9..a3cbbb8 100644
--- a/Lib/distutils/command/bdist_sdux.py
+++ b/Lib/distutils/command/bdist_sdux.py
@@ -7,7 +7,6 @@ swinstall depot"""
__revision__ = "$Id: bdist_sdux.py,v 0.2 "
import os, string
-import glob
from types import *
from distutils.core import Command, DEBUG
from distutils.util import get_platform
diff --git a/Lib/distutils/filelist.py b/Lib/distutils/filelist.py
index d39c835..3ed6f03 100644
--- a/Lib/distutils/filelist.py
+++ b/Lib/distutils/filelist.py
@@ -11,7 +11,7 @@ and building lists of files.
__revision__ = "$Id$"
-import sys, os, string, re
+import os, string, re
import fnmatch
from types import *
from glob import glob
diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py
index 55a51b3..56d3ee4 100644
--- a/Lib/distutils/unixccompiler.py
+++ b/Lib/distutils/unixccompiler.py
@@ -17,7 +17,7 @@ the "typical" Unix-style command-line C compiler:
__revision__ = "$Id$"
-import string, re, os, sys
+import os, sys
from types import *
from copy import copy
from distutils import sysconfig