-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
56 lines (48 loc) · 1.52 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
import os
import re
import setuptools
def read(filename):
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), filename)
with open(path, 'r') as f:
return f.read()
def find_version(text):
match = re.search(r"^__version__\s*=\s*['\"](.*)['\"]\s*$", text,
re.MULTILINE)
return match.group(1)
AUTHOR = "Conservation Technology Lab at the San Diego Zoo Wildlife Alliance"
DESC = ("Code for ScrubDash: Dashboard for organizing, visualizing, and "
"analyzing images coming in from a ScrubCam(s).")
setuptools.setup(
name="scrubdash",
description=DESC,
long_description=read('README.md'),
long_description_content_type='text/markdown',
license="MIT",
version=find_version(read('scrubdash/__init__.py')),
author=AUTHOR,
url="https://github.com/icr-ctl/scrubdash",
packages=setuptools.find_packages('.'),
install_requires=[
'aiosmtplib',
'dash',
'dash_daq',
'dash_bootstrap_components ',
'numpy',
'pandas',
'Pillow',
'plotly',
'PyYAML'
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
'Development Status :: 2 - Pre-Alpha',
'Topic :: Scientific/Engineering',
],
python_requires=">=3.7",
entry_points={
'console_scripts': ["scrubdash=scrubdash.__main__:main",
"create-config=scrubdash.create_config:main"]
},
include_package_data=True
)