-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
63 lines (56 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
56
57
58
59
60
61
62
63
#!/usr/bin/env python3
#
# Copyright DSDL Team of OpenDatalab. All rights reserved.
#
"""Setup file."""
from setuptools import setup, find_packages
def readme():
with open('README.md', encoding='utf-8') as f:
content = f.read()
return content
version = {}
with open("dsdl/__version__.py") as version_file:
exec(version_file.read(), version)
setup(
name="dsdl",
version=version["__version__"],
description="Python SDK for DSDL",
long_description=readme(),
long_description_content_type='text/markdown',
author="DSDL team",
author_email="[email protected]",
packages=find_packages(),
package_data={"dsdl": ["geometry/source/Arial_Font.ttf"]},
include_package_data=True,
install_requires=[
"pyyaml>=6.0",
"click>=8.1.3",
"networkx>=2.8.4",
"Pillow>=9.1.0",
"prettytable>=3.3.0",
"opencv-python>=4.6.0.66",
"jsonmodels==2.6.0",
"environs==9.5.0",
"pylint>=2.15.5",
"fastjsonschema>=2.16.3",
"jsonschema>=3.2.0",
"psutil>=5.9.0",
# "pycocotools>=2.0.6",
"tqdm>=4.65.0",
# "scikit-image>=0.19.3",
"tifffile",
"terminaltables>=3.1.10",
"matplotlib>=3.3.3",
],
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
python_requires=">=3.8",
entry_points={
"console_scripts": [
"dsdl = dsdl.cli:cli",
],
},
)