-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (29 loc) · 823 Bytes
/
setup.py
File metadata and controls
36 lines (29 loc) · 823 Bytes
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from distutils.core import setup
from setuptools import find_packages, setup
def _process_requirements():
packages = open('requirements.txt').read().strip().split('\n')
requires = []
for pkg in packages:
if pkg.startswith('git+https'):
return_code = os.system('pip install {}'.format(pkg))
else:
requires.append(pkg)
return requires
setup(
name="alibaba-aiops-serving",
version="1.0.2",
description="deploy and benchmark models for aiops",
url="",
install_requires=_process_requirements(),
license="Apache 2.0",
packages=find_packages(),
python_requires=">=3.7.10",
entry_points={
'console_scripts': [
'ziya = api.cli_click:cli'
]
},
)