-
Notifications
You must be signed in to change notification settings - Fork 34
/
setup.py
36 lines (34 loc) · 912 Bytes
/
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
from setuptools import setup,find_packages
import os
path = os.path.join(os.path.dirname(__file__),"python")
with open(os.path.join(path, "jdet/__init__.py"), "r", encoding='utf8') as fh:
for line in fh:
if line.startswith('__version__'):
version = line.split("'")[1]
break
else:
raise RuntimeError("Unable to find version string.")
setup(
name="jdet",
version=version,
author="Jittor Group",
author_email="jittor@qq.com",
description="Jittor Aerial Image Detection",
url="http://jittor.com",
python_requires='>=3.7',
packages=find_packages(path),
package_dir={'': "python"},
install_requires=[
"shapely",
"pyyaml",
"numpy",
"tqdm",
"pillow",
"astunparse",
"jittor",
"tensorboardX",
"opencv-python",
"tqdm",
"terminaltables",
],
)