-
Notifications
You must be signed in to change notification settings - Fork 42
/
setup.py
53 lines (45 loc) · 1.63 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
"""setup.py for install this package"""
from setuptools import setup, find_packages
from labelme2datasets.version import __version__
def get_long_description():
with open('README.md', encoding='utf-8') as readme_f:
return readme_f.read()
def get_install_requires():
with open('requirements.txt', encoding='utf-8') as req_f:
return req_f.read().splitlines()
def get_version():
return __version__
setup(
name='labelme2datasets',
version=get_version(),
description='python scripts to convert labelme-generated-jsons to voc/coco style datasets.',
long_description=get_long_description(),
long_description_content_type="text/markdown",
url="https://github.com/veraposeidon/labelme2Datasets",
author='veraposeidon',
packages=find_packages(include=['labelme2datasets', 'labelme2datasets.*']),
install_requires=[
'beautifulsoup4~=4.12.3',
'imgviz~=1.7.5',
'labelme~=5.4.1',
'progressbar~=2.5',
'scikit-learn~=1.4.2',
'xmltodict~=0.13.0',
'setuptools~=69.5.1',
'pillow~=10.3.0',
'lxml~=5.2.1'
],
entry_points={
'console_scripts': [
'labelme_json2dataset = labelme2datasets.labelme_json2dataset:main',
'labelme_bbox_json2voc = labelme2datasets.labelme_bbox_json2voc:main',
'split_voc_datasets = labelme2datasets.split_voc_datasets:main',
'voc2coco = labelme2datasets.voc2coco:main',
]
},
classifiers=[
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)