-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
41 lines (40 loc) · 1.16 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#setup.py
from setuptools import setup, find_packages
import os
def read_file(filename):
with open(os.path.join(os.path.dirname(__file__), filename), 'r', encoding='utf-8') as file: # specify the encoding
return file.read()
setup(
name="ts-xapp",
version="1.0.0",
packages=find_packages(exclude=["tests.*", "tests"]),
description="Traffic Steering xApp",
long_description=read_file('README.md'),
long_description_content_type="text/markdown",
author='Milad Natanzi',
author_email='[email protected]',
url="https://github.com/natanzi/ts-xapp",
install_requires=[
"wheel",
"ricxappframe>=1.1.1",
"hiredis==2.2.3",
"ricsdl==3.1.3",
"socket.py",
"APScheduler",
"thread6",
"pandas",
"joblib",
"influxdb",
"numpy",
"influxdb-client",
"flask"
],
python_requires='==3.11',
entry_points={
"console_scripts": [
"ts-xapp=src.ts-xapp:main", # This tells setuptools to create a script that runs src.ts_xApp.main()
]
},
license="Apache 2.0",
data_files=[("", ["LICENSE.txt"])],
)