X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=setup.py;h=3d890c193e8c1479f2920446456d97a89e90b3dc;hb=refs%2Fchanges%2F84%2F12284%2F1;hp=f4ba1649966f7c47e524771f24eb9b569b7f91ea;hpb=21f659c694968e95ad4e1a568538a586c5291b62;p=ric-plt%2Fxapp-frame-py.git diff --git a/setup.py b/setup.py index f4ba164..3d890c1 100644 --- a/setup.py +++ b/setup.py @@ -14,14 +14,42 @@ # See the License for the specific language governing permissions and # limitations under the License. # ================================================================================== +from os.path import dirname, abspath, join as path_join from setuptools import setup, find_packages +SETUP_DIR = abspath(dirname(__file__)) + + +def _long_descr(): + """Yields the content of documentation files for the long description""" + try: + doc_path = path_join(SETUP_DIR, "docs/overview.rst") + with open(doc_path) as f: + return f.read() + except FileNotFoundError: # this happens during unit testing, we don't need it + return "" + + setup( name="ricxappframe", - version="0.1.0", + version="3.2.3", packages=find_packages(exclude=["tests.*", "tests"]), - author="Tommy Carpenter", - description="Xapp framework for python", + author="O-RAN Software Community", + description="Xapp and RMR framework for Python", url="https://gerrit.o-ran-sc.org/r/admin/repos/ric-plt/xapp-frame-py", - install_requires=["msgpack", "rmr>=2.2.0, <3.0.0", "mdclogpy", "ricsdl>=2.0.3,<3.0.0"], + install_requires=["inotify_simple", "msgpack", "mdclogpy", "ricsdl>=3.0.0,<4.0.0", "requests", "protobuf<3.21.0", "inotify"], + classifiers=[ + "Development Status :: 4 - Beta", + "Intended Audience :: Telecommunications Industry", + "Programming Language :: Python :: 3", + "License :: OSI Approved :: Apache Software License", + "Operating System :: POSIX :: Linux", + "Topic :: Communications", + ], + python_requires=">=3.7", + keywords="RIC xapp", + license="Apache 2.0", + data_files=[("", ["LICENSE.txt"])], + long_description=_long_descr(), + long_description_content_type="text/x-rst", )