Joey Armstrong | 6a6c629 | 2024-04-30 16:07:38 -0400 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | # ----------------------------------------------------------------------- |
| 3 | # Copyright 2019-2024 Open Networking Foundation Contributors |
Zack Williams | 5220966 | 2019-02-07 10:15:31 -0700 | [diff] [blame] | 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
Joey Armstrong | 6a6c629 | 2024-04-30 16:07:38 -0400 | [diff] [blame] | 16 | # ----------------------------------------------------------------------- |
| 17 | # SPDX-FileCopyrightText: 2019-2024 Open Networking Foundation Contributors |
| 18 | # SPDX-License-Identifier: Apache-2.0 |
| 19 | # ----------------------------------------------------------------------- |
Zack Williams | 5220966 | 2019-02-07 10:15:31 -0700 | [diff] [blame] | 20 | |
| 21 | from setuptools import setup, find_packages |
| 22 | |
| 23 | |
| 24 | def version(): |
| 25 | with open('VERSION') as f: |
| 26 | return f.read() |
| 27 | |
| 28 | |
| 29 | setup( |
| 30 | name='voltha-protos', |
| 31 | version=version(), |
| 32 | description='Protobuf interface definitions', |
| 33 | author='VOLTHA project', |
| 34 | author_email='voltha-dev@opencord.org', |
| 35 | url='https://gerrit.opencord.org/gitweb?p=voltha-protos.git', |
| 36 | license='Apache Software License', |
| 37 | classifiers=[ |
| 38 | 'Development Status :: 5 - Production/Stable', |
| 39 | 'Intended Audience :: Developers', |
| 40 | 'License :: OSI Approved :: Apache Software License', |
Zack Williams | 5220966 | 2019-02-07 10:15:31 -0700 | [diff] [blame] | 41 | 'Programming Language :: Python :: 3.5', |
| 42 | 'Programming Language :: Python :: 3.6', |
| 43 | 'Programming Language :: Python :: 3.7', |
| 44 | ], |
| 45 | keywords='protobuf voltha', |
| 46 | packages = find_packages(where="python"), |
| 47 | package_dir = {"": "python"}, |
| 48 | install_requires = [ |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 49 | "grpcio==1.39.0", |
| 50 | "protobuf==3.17.3", |
| 51 | "grpcio-tools==1.39.0", |
| 52 | "googleapis-common-protos==1.52.0" |
Zack Williams | 5220966 | 2019-02-07 10:15:31 -0700 | [diff] [blame] | 53 | ], |
| 54 | include_package_data=True, |
| 55 | ) |