Alexei Frolov | bbf164c | 2019-12-16 12:51:59 -0800 | [diff] [blame] | 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_protobuf""" |
| 15 | |
Wyatt Hepler | d7dc655 | 2020-10-21 16:16:21 -0700 | [diff] [blame] | 16 | import setuptools # type: ignore |
Alexei Frolov | bbf164c | 2019-12-16 12:51:59 -0800 | [diff] [blame] | 17 | |
Alexei Frolov | bbf164c | 2019-12-16 12:51:59 -0800 | [diff] [blame] | 18 | setuptools.setup( |
| 19 | name='pw_protobuf', |
| 20 | version='0.0.1', |
| 21 | author='Pigweed Authors', |
| 22 | author_email='pigweed-developers@googlegroups.com', |
| 23 | description='Lightweight streaming protobuf implementation', |
| 24 | packages=setuptools.find_packages(), |
Wyatt Hepler | 3b4047d | 2020-10-21 16:07:56 -0700 | [diff] [blame] | 25 | package_data={'pw_protobuf': ['py.typed']}, |
| 26 | zip_safe=False, |
Alexei Frolov | bbf164c | 2019-12-16 12:51:59 -0800 | [diff] [blame] | 27 | entry_points={ |
Alexei Frolov | 18d08bf | 2020-06-05 13:42:40 -0700 | [diff] [blame] | 28 | 'console_scripts': ['pw_protobuf_codegen = pw_protobuf.plugin:main'] |
Alexei Frolov | bbf164c | 2019-12-16 12:51:59 -0800 | [diff] [blame] | 29 | }, |
| 30 | install_requires=[ |
| 31 | 'protobuf', |
Wyatt Hepler | 438caa0 | 2021-01-15 17:13:11 -0800 | [diff] [blame] | 32 | 'pw_cli', |
Alexei Frolov | bbf164c | 2019-12-16 12:51:59 -0800 | [diff] [blame] | 33 | ], |
Alexei Frolov | bbf164c | 2019-12-16 12:51:59 -0800 | [diff] [blame] | 34 | ) |