mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 22:00:58 +00:00
b6fe8f4636
Also add a missing py.typed file in pw_package. Change-Id: Iec601a2074afd20b61c704e05ac172fbaf9e525b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/36180 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Rob Mohr <mohrr@google.com> Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com>
50 lines
1.7 KiB
Python
50 lines
1.7 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.
|
|
"""pw_arduino_build"""
|
|
|
|
import setuptools # type: ignore
|
|
|
|
setuptools.setup(
|
|
name='pw_arduino_build',
|
|
version='0.0.1',
|
|
author='Pigweed Authors',
|
|
author_email='pigweed-developers@googlegroups.com',
|
|
description='Target-specific python scripts for the arduino target',
|
|
packages=setuptools.find_packages(),
|
|
package_data={
|
|
'pw_arduino_build': [
|
|
'core_patches/teensy/01-teensyduino_1.53-cpp17.diff',
|
|
'core_patches/teensy/02-teensy4_nonstatic_flash_functions.diff',
|
|
'py.typed',
|
|
]
|
|
},
|
|
zip_safe=False,
|
|
entry_points={
|
|
'console_scripts': [
|
|
'arduino_builder = pw_arduino_build.__main__:main',
|
|
'teensy_detector = pw_arduino_build.teensy_detector:main',
|
|
'arduino_unit_test_runner = '
|
|
' pw_arduino_build.unit_test_runner:main',
|
|
'arduino_test_server = '
|
|
' pw_arduino_build.unit_test_server:main',
|
|
'arduino_test_client = '
|
|
' pw_arduino_build.unit_test_client:main',
|
|
]
|
|
},
|
|
install_requires=[
|
|
'pyserial>=3.5,<4.0',
|
|
'coloredlogs',
|
|
'parameterized',
|
|
])
|