-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
56 lines (50 loc) · 1.54 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import setuptools, sys, os
with open("README.rst", "r") as fh:
long_description = fh.read()
# The wce triage is designed to work with Ubuntu 18.04LTS and after
# that comes with Python 3.6.
#
# The wce triage is designed to work with Ubuntu 20.04LTS and after
# that comes with Python 3.8.
python_version = sys.version_info
need_python_version = (3, 8)
if python_version < need_python_version:
raise RuntimeError("wce_triage requires Python version %d.%d or higher"
% need_python_version)
sys.path.append(os.getcwd())
from wce_triage.version import *
setuptools.setup(
name="wce_triage",
version=TRIAGE_VERSION,
author="Naoyuki Tai",
author_email="[email protected]",
description="WCE Triage",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ntai/wce-triage-v2",
packages=['wce_triage',
'wce_triage.backend',
'wce_triage.bin',
'wce_triage.components',
'wce_triage.lib',
'wce_triage.http',
'wce_triage.ops',
'wce_triage.setup'],
install_requires=[
'aiohttp==3.6.2',
'aiohttp-cors==0.7.0',
'Flask==3.0.0',
'Flask-CLI==0.4.0',
'Flask-Cors==3.0.10',
'Flask-SocketIO==5.3.3',
'python-engineio==4.8.1',
'python-socketio==5.10.0',
'typing_extensions==4.9.0',
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
],
include_package_data=True,
)