Skip to content

Commit 00c641c

Browse files
committed
Merge pull request #90 from parisk/feature/pypi
PyPI Distribution Code
2 parents fe7021d + ae77a10 commit 00c641c

File tree

4 files changed

+36
-1
lines changed

4 files changed

+36
-1
lines changed

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
*.py[cod]
22

3+
# Distribution dir
4+
dist
5+
6+
# MANIFEST file
7+
MANIFEST
8+
39
# Private settings
410
private_settings.py
511

@@ -53,4 +59,4 @@ uVision Project/
5359
debug.log
5460

5561
# Ignore OS X Desktop Services Store files
56-
.DS_Store
62+
.DS_Store

MANIFEST

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# file GENERATED by distutils, do NOT edit
2+
LICENSE
3+
setup.py

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
graft workspace_tools
2+
include __init__.py LICENSE

setup.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
"""
2+
This module defines the attributes of the
3+
PyPI package for the Mbed SDK
4+
"""
5+
6+
from distutils.core import setup
7+
8+
LICENSE = open('LICENSE').read()
9+
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).
10+
11+
.. _mbed framework: http://mbed.org"""
12+
OWNER_NAMES = 'emilmont, bogdanm'
13+
14+
15+
setup(name='mbed',
16+
version='0.1.6',
17+
description='Build and test system for mbed',
18+
long_description=DESCRIPTION,
19+
author=OWNER_NAMES,
20+
author_email=OWNER_EMAILS,
21+
maintainer=OWNER_NAMES,
22+
maintainer_email=OWNER_EMAILS,
23+
url='https://github.com/mbedmicro/mbed',
24+
license=LICENSE)

0 commit comments

Comments
 (0)