forked from divamgupta/image-segmentation-keras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (36 loc) · 1.19 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
from setuptools import find_packages, setup
import sys
cv_ver = ""
keras_ver = ">=2.0.0"
if sys.version_info.major < 3:
cv_ver = "<=4.2.0.32"
keras_ver = "<=2.3.0"
setup(name="keras_segmentation",
version="0.3.0",
description="Image Segmentation toolkit for keras",
author="Divam Gupta",
author_email='[email protected]',
platforms=["any"], # or more specific, e.g. "win32", "cygwin", "osx"
license="GPLv3",
url="https://github.com/divamgupta/image-segmentation-keras",
packages=find_packages(exclude=["test"]),
entry_points={
'console_scripts': [
'keras_segmentation = keras_segmentation.__main__:main'
]
},
install_requires=[
"Keras"+keras_ver,
"imageio==2.5.0",
"imgaug==0.2.9",
"opencv-python"+cv_ver,
"tqdm"],
extras_require={
# These requires provide different backends available with Keras
"tensorflow": ["tensorflow"],
"cntk": ["cntk"],
"theano": ["theano"],
# Default testing with tensorflow
"tests-default": ["tensorflow", "pytest"]
}
)