third_party.pigweed.src/pw_rpc/py/setup.py
Wyatt Hepler 45adfce68e Python: Restore missing local deps in setup.py
Since Python packages are installed by GN now, packages are installed in
the correct order. This allows local deps to be fully expressed.

Change-Id: I057cc0902b16da3480f73520281eb52391236a63
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/27901
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Reviewed-by: Rob Mohr <mohrr@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
2020-12-16 20:46:28 +00:00

40 lines
1.2 KiB
Python

# Copyright 2020 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_rpc"""
import setuptools # type: ignore
setuptools.setup(
name='pw_rpc',
version='0.0.1',
author='Pigweed Authors',
author_email='pigweed-developers@googlegroups.com',
description='On-device remote procedure calls',
packages=setuptools.find_packages(),
package_data={'pw_rpc': ['py.typed']},
zip_safe=False,
entry_points={
'console_scripts': [
'pw_rpc_codegen_nanopb = pw_rpc.plugin_nanopb:main',
'pw_rpc_codegen_raw = pw_rpc.plugin_raw:main'
]
},
install_requires=[
'protobuf',
'pw_protobuf_compiler',
'pw_status',
],
tests_require=['pw_build'],
)