2018-06-05 00:04:47 +08:00
|
|
|
# Copyright 2018 Open Source Foundries Limited.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
import setuptools
|
|
|
|
|
|
|
|
with open('README.rst', 'r') as f:
|
|
|
|
long_description = f.read()
|
|
|
|
|
2019-04-25 01:57:35 +08:00
|
|
|
with open('src/west/version.py', 'r') as f:
|
2018-09-24 03:56:56 +08:00
|
|
|
exec(f.read())
|
|
|
|
|
2018-06-05 00:04:47 +08:00
|
|
|
setuptools.setup(
|
|
|
|
name='west',
|
2018-09-24 03:56:56 +08:00
|
|
|
version=__version__,
|
2018-06-05 00:04:47 +08:00
|
|
|
author='Zephyr Project',
|
|
|
|
author_email='devel@lists.zephyrproject.org',
|
2019-04-25 01:57:35 +08:00
|
|
|
description='Zephyr RTOS Project meta-tool',
|
2018-06-05 00:04:47 +08:00
|
|
|
long_description=long_description,
|
|
|
|
# http://docutils.sourceforge.net/FAQ.html#what-s-the-official-mime-type-for-restructuredtext-data
|
|
|
|
long_description_content_type="text/x-rst",
|
|
|
|
url='https://github.com/zephyrproject-rtos/west',
|
2019-04-25 01:57:35 +08:00
|
|
|
packages=setuptools.find_namespace_packages(where='src'),
|
2018-07-28 05:46:53 +08:00
|
|
|
package_dir={'': 'src'},
|
2019-01-09 01:51:05 +08:00
|
|
|
include_package_data=True,
|
2018-09-14 08:58:44 +08:00
|
|
|
classifiers=[
|
2018-06-05 00:04:47 +08:00
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'License :: OSI Approved :: Apache Software License',
|
|
|
|
'Operating System :: POSIX :: Linux',
|
|
|
|
'Operating System :: MacOS :: MacOS X',
|
|
|
|
'Operating System :: Microsoft :: Windows',
|
2019-04-25 02:28:17 +08:00
|
|
|
],
|
2018-09-21 02:25:15 +08:00
|
|
|
install_requires=[
|
|
|
|
'colorama',
|
|
|
|
'PyYAML',
|
|
|
|
'pykwalify',
|
2019-02-22 00:52:04 +08:00
|
|
|
'configobj',
|
2019-04-25 02:28:17 +08:00
|
|
|
],
|
2018-06-05 00:04:47 +08:00
|
|
|
python_requires='>=3.4',
|
2019-04-25 01:57:35 +08:00
|
|
|
entry_points={'console_scripts': ('west = west.main:main',)},
|
|
|
|
)
|