-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
37 lines (35 loc) · 1.21 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
from setuptools import setup, find_packages
import sys
if not sys.version_info[0] == 3:
sys.exit("ERROR: HOPLITE requires Python 3.5 or higher")
else:
if sys.version_info[1] < 5:
sys.exit("ERROR: HOPLITE requires Python 3.5 or higher")
if sys.version_info[1] == 5:
print("WARNING: Python 3.5 is end of life and will not be supported in the future.")
print("Please upgrade your Python version to 3.6 or higher,")
print("either by upgrading your OS or installing Python manually.")
setup(
name='hoplite',
version='1.3.2',
description='HOPLITE: A system for monitoring kegerator levels and temperatures',
# py_modules=['Hoplite', 'hoplite-web'],
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
python_requires=">=3.5",
install_requires=[
'Rpi.GPIO',
'numpy',
'luma.lcd>=2.0.0',
'hx711',
'posix_ipc',
'remi>=2019.11',
'flask',
'requests'],
package_dir={'hoplite': 'hoplite/'},
package_data={ # Optional
'hoplite': ['static/example-config.json',
'static/settings_16.png',
'conf/*',
'font/*'],
},
)