~lamont/maas/bug-1645912-2.1

« back to all changes in this revision

Viewing changes to ez_setup.py

  • Committer: Gavin Panella
  • Date: 2015-12-04 17:29:07 UTC
  • mto: This revision was merged to the branch mainline in revision 4533.
  • Revision ID: gavin.panella@canonical.com-20151204172907-usvl2e75l23wpek9
Format imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
Run this script to install or upgrade setuptools.
7
7
"""
8
8
 
 
9
import contextlib
 
10
from distutils import log
 
11
import optparse
9
12
import os
 
13
import platform
10
14
import shutil
 
15
import subprocess
11
16
import sys
12
17
import tempfile
13
 
import zipfile
14
 
import optparse
15
 
import subprocess
16
 
import platform
17
18
import textwrap
18
 
import contextlib
19
19
import warnings
 
20
import zipfile
20
21
 
21
 
from distutils import log
22
22
 
23
23
try:
24
24
    from urllib.request import urlopen