forked from micasense/imageprocessing
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
38 lines (34 loc) · 980 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
33
34
35
36
37
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
import os
# Parse the version from the main __init__.py
with open('micasense/__init__.py') as f:
for line in f:
if line.find("__version__") >= 0:
version = line.split("=")[1].strip()
version = version.strip('"')
version = version.strip("'")
continue
setup(name='micasense',
version=version,
description=u"Micasense Image Processing",
author=u"MicaSense, Inc.",
author_email='[email protected]',
url='https://github.com/micasense/imageprocessing',
license='MIT',
packages=find_packages(),
install_requires=[
'requests',
'numpy',
'opencv-python<4.0',
'gdal',
'pysolar',
'matplotlib',
'scikit-image',
'packaging',
'pyexiftool',
'pytz',
'pyzbar'
])