third_party.pigweed.src/targets/stm32f429i-disc1/py/setup.py
Rob Mohr 29288f4f12 pw_arduino_build, stm32f429i: Require pyserial 3.5
Force pyserial version 3.5+ because 3.4 and earlier versions fail on
Big Sur with Python 3.8.

pyserial bug: https://github.com/pyserial/pyserial/issues/509
Bug tracking Python 3.9 support in LUCI/CIPD: crbug.com/1176014

Change-Id: I87a057e668394329655a8e75e1e17c98182f3a14
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/32126
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Mark Rawling <mwr@google.com>
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
2021-02-10 04:18:32 +00:00

46 lines
1.6 KiB
Python

# Copyright 2019 The Pigweed Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
"""stm32f429i_disc1_utils"""
import setuptools # type: ignore
setuptools.setup(
name='stm32f429i_disc1_utils',
version='0.0.1',
author='Pigweed Authors',
author_email='pigweed-developers@googlegroups.com',
description=
'Target-specific python scripts for the stm32f429i-disc1 target',
packages=setuptools.find_packages(),
package_data={'stm32f429i_disc1_utils': ['py.typed']},
zip_safe=False,
entry_points={
'console_scripts': [
'stm32f429i_disc1_unit_test_runner = '
' stm32f429i_disc1_utils.unit_test_runner:main',
'stm32f429i_disc1_detector = '
' stm32f429i_disc1_utils.stm32f429i_detector:main',
'stm32f429i_disc1_test_server = '
' stm32f429i_disc1_utils.unit_test_server:main',
'stm32f429i_disc1_test_client = '
' stm32f429i_disc1_utils.unit_test_client:main',
]
},
install_requires=[
'pyserial>=3.5,<4.0',
'coloredlogs',
'pw_cli',
],
)