blob: 4f15ae1554cdfb63d24f17b2488366ac039b3f26 [file] [log] [blame]
Zack Williams28f1e492019-02-01 10:02:56 -07001# 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 Bhatia75d3b412017-03-29 21:10:29 +020014
Zack Williams28f1e492019-02-01 10:02:56 -070015"""
16plyxproto xproto parser
Sapan Bhatia29c47592017-07-23 21:32:44 -040017
18See:
Zack Williams28f1e492019-02-01 10:02:56 -070019 https://gerrit.opencord.org/gitweb?p=plyxproto.git
20 https://guide.xosproject.org/
Sapan Bhatia29c47592017-07-23 21:32:44 -040021"""
22
Zack Williams28f1e492019-02-01 10:02:56 -070023from setuptools import setup, find_packages
24
25
26def readme():
27 with open('README.rst') as f:
28 return f.read()
29
30
31def version():
32 with open('VERSION') as f:
33 return f.read()
34
Sapan Bhatia75d3b412017-03-29 21:10:29 +020035
Zack Williamsbe7f36d2018-02-02 11:37:11 -070036setup(
37 name='plyxproto',
Zack Williams28f1e492019-02-01 10:02:56 -070038 version=version(),
Zack Williamsbe7f36d2018-02-02 11:37:11 -070039 description='xproto parser and processor',
Zack Williams28f1e492019-02-01 10:02:56 -070040 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 Williamsbe7f36d2018-02-02 11:37:11 -070049 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 Williams28f1e492019-02-01 10:02:56 -070055 'Programming Language :: Python :: 2.7',
56 'Programming Language :: Python :: 3',
57 ],
Zack Williamsbe7f36d2018-02-02 11:37:11 -070058 keywords='xproto protobuf xos parser',
Zack Williams28f1e492019-02-01 10:02:56 -070059 packages=find_packages(where="src"),
60 package_dir={"": "src"},
61 install_requires=['ply'],
62 include_package_data=True,
63)