Zack Williams | 28f1e49 | 2019-02-01 10:02:56 -0700 | [diff] [blame^] | 1 | # Copyright 2017-present Open Networking Foundation and others |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://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, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
Sapan Bhatia | 75d3b41 | 2017-03-29 21:10:29 +0200 | [diff] [blame] | 14 | |
Zack Williams | 28f1e49 | 2019-02-01 10:02:56 -0700 | [diff] [blame^] | 15 | """ |
| 16 | plyxproto xproto parser |
Sapan Bhatia | 29c4759 | 2017-07-23 21:32:44 -0400 | [diff] [blame] | 17 | |
| 18 | See: |
Zack Williams | 28f1e49 | 2019-02-01 10:02:56 -0700 | [diff] [blame^] | 19 | https://gerrit.opencord.org/gitweb?p=plyxproto.git |
| 20 | https://guide.xosproject.org/ |
Sapan Bhatia | 29c4759 | 2017-07-23 21:32:44 -0400 | [diff] [blame] | 21 | """ |
| 22 | |
Zack Williams | 28f1e49 | 2019-02-01 10:02:56 -0700 | [diff] [blame^] | 23 | from setuptools import setup, find_packages |
| 24 | |
| 25 | |
| 26 | def readme(): |
| 27 | with open('README.rst') as f: |
| 28 | return f.read() |
| 29 | |
| 30 | |
| 31 | def version(): |
| 32 | with open('VERSION') as f: |
| 33 | return f.read() |
| 34 | |
Sapan Bhatia | 75d3b41 | 2017-03-29 21:10:29 +0200 | [diff] [blame] | 35 | |
Zack Williams | be7f36d | 2018-02-02 11:37:11 -0700 | [diff] [blame] | 36 | setup( |
| 37 | name='plyxproto', |
Zack Williams | 28f1e49 | 2019-02-01 10:02:56 -0700 | [diff] [blame^] | 38 | version=version(), |
Zack Williams | be7f36d | 2018-02-02 11:37:11 -0700 | [diff] [blame] | 39 | description='xproto parser and processor', |
Zack Williams | 28f1e49 | 2019-02-01 10:02:56 -0700 | [diff] [blame^] | 40 | long_description=readme(), |
| 41 | author=''' |
| 42 | Dusan Klinec (original plyprotobuf code), |
| 43 | Sapan Bhatia (xproto extensions), |
| 44 | Zack Williams (maintenance), |
| 45 | Scott Baker (maintenance), |
| 46 | ''', |
| 47 | author_email='support@opencord.org', |
| 48 | url='https://gerrit.opencord.org/gitweb?p=plyxproto.git', |
Zack Williams | be7f36d | 2018-02-02 11:37:11 -0700 | [diff] [blame] | 49 | license='Apache Software License', |
| 50 | classifiers=[ |
| 51 | 'Development Status :: 5 - Production/Stable', |
| 52 | 'Intended Audience :: Developers', |
| 53 | 'Topic :: Software Development :: Build Tools', |
| 54 | 'License :: OSI Approved :: Apache Software License', |
Zack Williams | 28f1e49 | 2019-02-01 10:02:56 -0700 | [diff] [blame^] | 55 | 'Programming Language :: Python :: 2.7', |
| 56 | 'Programming Language :: Python :: 3', |
| 57 | ], |
Zack Williams | be7f36d | 2018-02-02 11:37:11 -0700 | [diff] [blame] | 58 | keywords='xproto protobuf xos parser', |
Zack Williams | 28f1e49 | 2019-02-01 10:02:56 -0700 | [diff] [blame^] | 59 | packages=find_packages(where="src"), |
| 60 | package_dir={"": "src"}, |
| 61 | install_requires=['ply'], |
| 62 | include_package_data=True, |
| 63 | ) |