Skip to content

Commit c3259cc

Browse files
committed
Improve package information (e.g. description and license
1 parent 02680d1 commit c3259cc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

setup.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,23 @@
1313
import os
1414
from setuptools import setup
1515

16-
def read(fname):
17-
return open(os.path.join(os.path.dirname(__file__), fname)).read()
16+
LONG_DESC = open('pypi_readme.rst').read()
17+
LICENSE = open('LICENSE').read()
1818

1919
setup(
2020
name="mbed-cli",
21-
packages=["mbed"],
2221
version="0.8.6",
22+
description="ARM mbed command line tool for repositories version control, publishing and updating code from remotely hosted repositories (GitHub, GitLab and mbed.org), and invoking mbed OS own build system and export functions, among other operations",
23+
long_description=LONG_DESC,
2324
url='http://github.com/ARMmbed/mbed-cli',
2425
author='ARM mbed',
2526
author_email='[email protected]',
26-
license='Apache-2.0',
27+
license=LICENSE,
28+
packages=["mbed"],
2729
entry_points={
2830
'console_scripts': [
2931
'mbed=mbed.mbed:main',
3032
'mbed-cli=mbed.mbed:main',
3133
]
3234
},
33-
long_description=read('pypi_readme.rst'),
3435
)

0 commit comments

Comments
 (0)