generate python proto files, third trial ;)
add test for generated python files
Signed-off-by: uwe ottrembka <uwe.ottrembka@adtran.com>
Change-Id: Id336c263bbc9420bd4c64093ab37ba6da5c77514
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..de91cad
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,44 @@
+# Copyright 2019-present Open Networking Foundation
+#
+# 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
+#
+# http://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.
+
+from setuptools import setup, find_packages
+
+
+def version():
+ with open('VERSION') as f:
+ return f.read()
+
+
+setup(
+ name='device-management-interface',
+ version=version(),
+ description='Protobuf interface definitions',
+ author='VOLTHA project',
+ author_email='voltha-dev@opencord.org',
+ url='https://otti@gerrit.opencord.org/a/device-management-interface',
+ license='Apache Software License',
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: Apache Software License',
+ 'Programming Language :: Python :: 3.6',
+ ],
+ keywords='protobuf voltha',
+ packages = find_packages(where="python"),
+ package_dir = {"": "python"},
+ install_requires = [
+ "googleapis-common-protos~=1.5.6"
+ ],
+ include_package_data=True,
+)