Martí Bolívar | 5332847 | 2021-03-26 16:18:58 -0700 | [diff] [blame] | 1 | # Copyright (c) 2021, Nordic Semiconductor ASA |
| 2 | # |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
| 5 | import setuptools |
| 6 | |
| 7 | long_description = ''' |
| 8 | Placeholder |
| 9 | =========== |
| 10 | |
| 11 | This is just a placeholder for moving Zephyr's devicetree libraries |
| 12 | to PyPI. |
| 13 | ''' |
| 14 | |
| 15 | version = '0.0.1' |
| 16 | |
| 17 | setuptools.setup( |
| 18 | # TBD, just use these for now. |
| 19 | author='Zephyr Project', |
| 20 | author_email='devel@lists.zephyrproject.org', |
| 21 | |
| 22 | name='devicetree', |
| 23 | version=version, |
| 24 | description='Python libraries for devicetree', |
| 25 | long_description=long_description, |
| 26 | # http://docutils.sourceforge.net/FAQ.html#what-s-the-official-mime-type-for-restructuredtext-data |
| 27 | long_description_content_type="text/x-rst", |
| 28 | url='https://github.com/zephyrproject-rtos/python-devicetree', |
| 29 | packages=setuptools.find_packages(where='src'), |
| 30 | package_dir={'': 'src'}, |
| 31 | classifiers=[ |
| 32 | 'Programming Language :: Python :: 3 :: Only', |
| 33 | 'License :: OSI Approved :: Apache Software License', |
| 34 | 'Operating System :: POSIX :: Linux', |
| 35 | 'Operating System :: MacOS :: MacOS X', |
| 36 | 'Operating System :: Microsoft :: Windows', |
| 37 | ], |
| 38 | install_requires=[ |
| 39 | 'PyYAML>=5.1', |
| 40 | ], |
| 41 | python_requires='>=3.6', |
| 42 | ) |