This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup.py
73 lines (65 loc) · 2.03 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
71
72
73
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==2.0.1",
"opencv-python<=4.2.0.34",
"numpy<=1.16.2",
"pillow<=7.1.1",
"keras<=2.3.1",
"daiquiri<=2.1.1",
"Flask<=1.0.2",
"seaborn<=0.8.1",
"shapely<=1.6.0",
"geopandas<=0.7.0",
"rtree<=0.9.4",
]
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,
long_description_content_type="text/markdown",
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"],
}
)