44 lines
1.3 KiB
Python
44 lines
1.3 KiB
Python
# 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()
|
|
|
|
with open('src/west/_bootstrap/version.py', 'r') as f:
|
|
exec(f.read())
|
|
|
|
setuptools.setup(
|
|
name='west',
|
|
version=__version__,
|
|
author='Zephyr Project',
|
|
author_email='devel@lists.zephyrproject.org',
|
|
description='Zephyr RTOS Project meta-tool (wrapper and bootstrap)',
|
|
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',
|
|
packages=('west._bootstrap',),
|
|
package_dir={'': 'src'},
|
|
classifiers=[
|
|
'Programming Language :: Python :: 3',
|
|
'License :: OSI Approved :: Apache Software License',
|
|
'Operating System :: POSIX :: Linux',
|
|
'Operating System :: MacOS :: MacOS X',
|
|
'Operating System :: Microsoft :: Windows',
|
|
],
|
|
install_requires=[
|
|
'colorama',
|
|
'PyYAML',
|
|
'pykwalify',
|
|
],
|
|
python_requires='>=3.4',
|
|
entry_points={
|
|
'console_scripts': (
|
|
'west = west._bootstrap.main:main',
|
|
),
|
|
},
|
|
)
|