mirror of
https://github.com/python/cpython.git
synced 2025-08-12 04:49:01 +00:00
massive import cleaning in Distutils
This commit is contained in:
parent
2421d56e02
commit
2b66da7d15
24 changed files with 97 additions and 121 deletions
|
@ -1,7 +1,6 @@
|
|||
"""distutils.command.upload
|
||||
|
||||
Implements the Distutils 'upload' subcommand (upload package to PyPI)."""
|
||||
import sys
|
||||
import os
|
||||
import socket
|
||||
import platform
|
||||
|
@ -9,10 +8,9 @@ from urllib2 import urlopen, Request, HTTPError
|
|||
from base64 import standard_b64encode
|
||||
import urlparse
|
||||
import cStringIO as StringIO
|
||||
from ConfigParser import ConfigParser
|
||||
from hashlib import md5
|
||||
|
||||
from distutils.errors import *
|
||||
from distutils.errors import DistutilsOptionError
|
||||
from distutils.core import PyPIRCCommand
|
||||
from distutils.spawn import spawn
|
||||
from distutils import log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue