mirror of https://github.com/ARMmbed/mbed-os.git
parent
7ca2cab346
commit
cff6bc44ea
8
setup.py
8
setup.py
|
@ -3,11 +3,11 @@ This module defines the attributes of the
|
||||||
PyPI package for the Mbed SDK
|
PyPI package for the Mbed SDK
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from distutils.core import setup
|
from shutil import copyfileobj
|
||||||
from setuptools import find_packages
|
|
||||||
from os.path import isfile, join
|
from os.path import isfile, join
|
||||||
from tempfile import TemporaryFile
|
from tempfile import TemporaryFile
|
||||||
from shutil import copyfileobj
|
from setuptools import find_packages
|
||||||
|
from distutils.core import setup
|
||||||
|
|
||||||
LICENSE = open('LICENSE').read()
|
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).
|
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',
|
url='https://github.com/mbedmicro/mbed',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
license=LICENSE,
|
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
|
# Restore previous private_settings if needed
|
||||||
if backup:
|
if backup:
|
||||||
|
|
|
@ -17,6 +17,8 @@ limitations under the License.
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import tempfile
|
import tempfile
|
||||||
|
import colorama
|
||||||
|
|
||||||
|
|
||||||
from types import ListType
|
from types import ListType
|
||||||
from shutil import rmtree
|
from shutil import rmtree
|
||||||
|
|
Loading…
Reference in New Issue