-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (41 loc) · 1.15 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
#!/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("tunas2dsdl/__version__.py") as version_file:
exec(version_file.read(), version)
setup(
name="tunas2dsdl",
version=version["__version__"],
description="Python SDK for Converting Tunas Format Dataset to DSDL YAML",
long_description=readme(),
long_description_content_type='text/markdown',
author="DSDL team",
author_email="[email protected]",
packages=find_packages(),
package_data={},
include_package_data=True,
install_requires=[
"click>=8.1.3",
"ruamel.yaml>=0.17.21",
"tqdm>=4.64.0",
],
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
python_requires=">=3.8",
entry_points={
"console_scripts": [
"tunas2dsdl = tunas2dsdl.cli:cli",
],
},
)