CI: Migrate Sonar Scan job to GHA
[it/dev.git] / xapp_onboarder / setup.py
1 ################################################################################
2 #   Copyright (c) 2020 AT&T Intellectual Property.                             #
3 #                                                                              #
4 #   Licensed under the Apache License, Version 2.0 (the "License");            #
5 #   you may not use this file except in compliance with the License.           #
6 #   You may obtain a copy of the License at                                    #
7 #                                                                              #
8 #       http://www.apache.org/licenses/LICENSE-2.0                             #
9 #                                                                              #
10 #   Unless required by applicable law or agreed to in writing, software        #
11 #   distributed under the License is distributed on an "AS IS" BASIS,          #
12 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
13 #   See the License for the specific language governing permissions and        #
14 #   limitations under the License.                                             #
15 ################################################################################
16
17 from setuptools import setup, find_packages
18
19 with open("README.md", "r") as fh:
20     long_description = fh.read()
21
22 with open('requirements.txt') as f:
23     requirements = f.read().splitlines()
24
25
26 setup(
27     name='xapp_onboarder',
28     version='1.0.0',
29     description='RIC xApp onboarder',
30     long_description=long_description,
31     long_description_content_type="text/markdown",
32     url='https://gerrit.o-ran-sc.org/r/admin/repos/it/dev',
33     author='Zhe Huang',
34     author_email='zhehuang@research.att.com',
35     include_package_data=True,
36     packages=find_packages(),
37     package_data={'': ['*.yaml', '*.tpl', '*.conf', 'xapp_onboarder', 'cli']},
38     classifiers=[
39         "Programming Language :: Python :: 3",
40         "Operating System :: OS Independent",
41     ],
42     python_requires='>=3.6',
43     install_requires=requirements,
44     entry_points={
45         'console_scripts': [
46             'xapp_onboarder = xapp_onboarder.server.server:main',
47             'cli = xapp_onboarder.server.cli:run'
48         ]
49     },
50 )