Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / third_party / pigweed / repo / pw_arduino_build / py / setup.py
1 # Copyright 2019 The Pigweed Authors
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 # use this file except in compliance with the License. You may obtain a copy of
5 # the License at
6 #
7 #     https://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 # License for the specific language governing permissions and limitations under
13 # the License.
14 """pw_arduino_build"""
15
16 import setuptools  # type: ignore
17
18 setuptools.setup(
19     name='pw_arduino_build',
20     version='0.0.1',
21     author='Pigweed Authors',
22     author_email='pigweed-developers@googlegroups.com',
23     description='Target-specific python scripts for the arduino target',
24     packages=setuptools.find_packages(),
25     package_data={
26         'pw_arduino_build': [
27             'core_patches/teensy/01-teensyduino_1.53-cpp17.diff',
28             'core_patches/teensy/02-teensy4_nonstatic_flash_functions.diff'
29             'py.typed',
30         ]
31     },
32     zip_safe=False,
33     entry_points={
34         'console_scripts': [
35             'arduino_builder = pw_arduino_build.__main__:main',
36             'teensy_detector = pw_arduino_build.teensy_detector:main',
37             'arduino_unit_test_runner = '
38             '    pw_arduino_build.unit_test_runner:main',
39             'arduino_test_server = '
40             '    pw_arduino_build.unit_test_server:main',
41             'arduino_test_client = '
42             '    pw_arduino_build.unit_test_client:main',
43         ]
44     },
45     install_requires=[
46         'pyserial>=3.5,<4.0',
47         'coloredlogs',
48         'parameterized',
49     ])