-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (51 loc) · 1.72 KB
/
Copy pathsetup.py
File metadata and controls
60 lines (51 loc) · 1.72 KB
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
#!/usr/bin/env python3
"""
Crabspy lives on GitHub <https://github.com/CexyNature/Crabspy>
"""
import sys
from setuptools import setup
__author__ = "Cesar Herrera"
__copyright__ = "Copyright (C) 2019 Cesar Herrera"
__license__ = "GNU GPL"
VERSION = "0.8"
DESCRIPTION = """Crabspy is a python library that provides a programming interface for tracking,
counting and measuring crabs and other small creatures in videos recorded on natural and
artificial settings. Crabspy is distributed under a GNU GPL license."""
PYTHON_VERSION = sys.version_info[:2]
PYTHON_REQUIRED = (3, 5)
if PYTHON_VERSION < PYTHON_REQUIRED:
sys.stderr.write("""
==========================
Your Python version is not supported.
==========================
Crabspy requires Python {}.{}, and your current installed Python is {}.{}
""".format(*(PYTHON_REQUIRED + PYTHON_VERSION)))
sys.exit(1)
with open("README.md", encoding="utf8") as file:
LONG_DESCRIPTION = file.read()
setup(
name="crabspy",
version=VERSION,
author=__author__,
author_email="herrera.ce@gmail.com",
url="https://github.com/CexyNature/Crabspy",
download_url="https://github.com/CexyNature/Crabspy",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
license=__license__,
packages=["crabspy"],
python_requires=">=3.5",
install_requires=[
"numpy>=1.14.2",
"opencv-python>=3.3",
"opencv-contrib-python>=3.3",
"pandas>=0.23.4",
"scikit-image >= 0.15.0",
"scikit-learn >= 0.21.3",
"matplotlib >= 2.2.0",
"joblib >= 0.13.2",
"pyWavelets >= 1.0.3",
"pylint >=2.4.4",
"pytest >=5.3.2",
"pytest-cov >=2.8.1",
"scipy >=1.0.0"])