forked from Oslandia/deeposlandia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
70 lines (62 loc) · 1.93 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
64
65
66
67
68
69
70
import os
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
def find_version(*file_paths):
with open(os.path.join(here, *file_paths), "r") as f:
for line in f:
if line.startswith("__version__"):
return line.strip().split("=")[1].strip(" '\"")
raise RuntimeError(
("Unable to find version string. " "Should be __init__.py.")
)
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
install_requires = [
"tensorflow==1.15.2",
"opencv-python<=3.4.0.12",
"pillow<=6.2.0",
"keras<=2.2.4",
"daiquiri<=1.5.0",
"Flask<=1.0.2",
"seaborn<=0.8.1",
"geopandas<=0.4.0",
"rtree<=0.8",
]
setup(
name="deeposlandia",
keywords=[
"deep learning",
"convolutional neural networks",
"image",
"Keras",
],
version=find_version("deeposlandia", "__init__.py"),
description=(
"Automatic detection and semantic image segmentation "
"with deep learning"
),
long_description=long_description,
license="MIT",
author="Oslandia",
author_email="[email protected]",
maintainer="Oslandia",
maintainer_email="",
url="https://github.com/Oslandia/deeposlandia",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: CPython",
],
python_requires=">=3",
install_requires=install_requires,
packages=find_packages(),
entry_points = {
"console_scripts": ["deepo=deeposlandia.__main__:main"],
}
)