-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (26 loc) · 926 Bytes
/
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
#!/usr/bin/env python
from setuptools import find_packages, setup
import pathlib
from pkg_resources import parse_requirements
def readme():
with open("readme.MD", encoding="utf-8") as f:
content = f.read()
return content
with pathlib.Path("requirements.txt").open() as requirements_txt:
install_requires = [
str(requirement) for requirement in parse_requirements(requirements_txt)
]
setup(
name="openHexa",
version="1.0",
description="computer vision tool for plants",
long_description=readme(),
long_description_content_type="text/markdown",
author="DeepAerialMapper Contributors",
author_email="huijo@hexafarms.com",
keywords="computer vision, phenomics",
packages=find_packages(exclude=("api", "demo", "docker", "tools")),
url="https://github.com/hexafarms/Hexa_image",
license="Apache License 2.0",
install_requires=install_requires,
)