-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (45 loc) · 1.45 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
from setuptools import setup, find_namespace_packages
def _read(filename: str) -> str:
"""
Reads in the content of the file.
:param filename: The file to read.
:return: The file content.
"""
with open(filename, "r") as file:
return file.read()
setup(
name="wai.annotations.voc",
description="Pascal VOC format plugins for wai.annotations.",
long_description=f"{_read('DESCRIPTION.rst')}\n"
f"{_read('CHANGES.rst')}",
url="https://github.com/waikato-ufdl/wai-annotations-voc",
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Topic :: Scientific/Engineering :: Mathematics',
'Programming Language :: Python :: 3',
],
license='Apache License Version 2.0',
package_dir={
'': 'src'
},
packages=find_namespace_packages(where='src'),
namespace_packages=[
"wai",
"wai.annotations"
],
version="1.1.0",
author='Corey Sterling',
author_email='[email protected]',
install_requires=[
"wai.annotations.core>=0.1.1",
"defusedxml"
],
entry_points={
"wai.annotations.plugins": [
# Image Object Detection Formats
"from-voc-od=wai.annotations.voc.od.specifier:VOCODInputFormatSpecifier",
"to-voc-od=wai.annotations.voc.od.specifier:VOCODOutputFormatSpecifier",
]
}
)