diff --git a/.gitignore b/.gitignore index 241c7708fde..850758cf1e6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,11 @@ *.py[cod] +# Distribution dir +dist + +# MANIFEST file +MANIFEST + # Private settings private_settings.py @@ -53,4 +59,4 @@ uVision Project/ debug.log # Ignore OS X Desktop Services Store files -.DS_Store \ No newline at end of file +.DS_Store diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 00000000000..fd9c09e2410 --- /dev/null +++ b/MANIFEST @@ -0,0 +1,3 @@ +# file GENERATED by distutils, do NOT edit +LICENSE +setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000000..8294764a5c5 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +graft workspace_tools +include __init__.py LICENSE diff --git a/setup.py b/setup.py new file mode 100644 index 00000000000..9ecbcfef058 --- /dev/null +++ b/setup.py @@ -0,0 +1,24 @@ +""" +This module defines the attributes of the +PyPI package for the Mbed SDK +""" + +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). + +.. _mbed framework: http://mbed.org""" +OWNER_NAMES = 'emilmont, bogdanm' +OWNER_EMAILS = 'Emilio.Monti@arm.com, Bogdan.Marinescu@arm.com' + +setup(name='mbed', + version='0.1.6', + description='Build and test system for mbed', + long_description=DESCRIPTION, + author=OWNER_NAMES, + author_email=OWNER_EMAILS, + maintainer=OWNER_NAMES, + maintainer_email=OWNER_EMAILS, + url='https://github.com/mbedmicro/mbed', + license=LICENSE)