Added coloram module import

Minor code indents
pull/900/head
Przemek Wirkus 2015-02-10 22:41:39 +00:00
parent 7ca2cab346
commit cff6bc44ea
2 changed files with 6 additions and 4 deletions

View File

@ -3,11 +3,11 @@ This module defines the attributes of the
PyPI package for the Mbed SDK
"""
from distutils.core import setup
from setuptools import find_packages
from shutil import copyfileobj
from os.path import isfile, join
from tempfile import TemporaryFile
from shutil import copyfileobj
from setuptools import find_packages
from distutils.core import setup
LICENSE = open('LICENSE').read()
DESCRIPTION = """A set of Python scripts that can be used to compile programs written on top of the `mbed framework`_. It can also be used to export mbed projects to other build systems and IDEs (uVision, IAR, makefiles).
@ -40,7 +40,7 @@ setup(name='mbed-tools',
url='https://github.com/mbedmicro/mbed',
packages=find_packages(),
license=LICENSE,
install_requires=["PrettyTable>=0.7.2", "PySerial>=2.7", "IntelHex>=1.3"])
install_requires=["PrettyTable>=0.7.2", "PySerial>=2.7", "IntelHex>=1.3", "colorama>=0.3.3"])
# Restore previous private_settings if needed
if backup:

View File

@ -17,6 +17,8 @@ limitations under the License.
import re
import tempfile
import colorama
from types import ListType
from shutil import rmtree