-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
executable file
·51 lines (48 loc) · 2.55 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
import re
import os
from distutils.cmd import Command
from setuptools import setup, find_packages
from distutils.errors import DistutilsError, DistutilsExecError
if re.search('armv\d',str(os.uname().machine), re.M | re.I) is not None:
__MODULES = ['Pillow','flask','click','itsdangerous','Werkzeug','jinja2','wtforms','email-validator'],
else:
__MODULES = ['Pillow','opencv-python','flask','click','itsdangerous','Werkzeug','jinja2','wtforms','email-validator'],
setup(
name='MotionDetection',
version='2.0.1',
url='https://github.com/amboxer21/MotionDetection',
license='GPL-3.0',
author='Anthony Guevara',
author_email='[email protected]',
description="A DIY CCTV system that monitors motion from a USB camera on an Raspberry Pi. "
+ "It takes a burst of pictures then E-mails them to you. You can also view the live feed from your phohne.",
packages=find_packages(exclude=['tests']),
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: System Administrators',
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'Programming Language :: Python :: 2.7',
'Operating System :: POSIX :: Linux',
'License :: OSI Approved :: GNU General Public License (GPL)',
],
data_files=[
('/usr/local/bin/', ['src/heart.py']),
('/usr/local/bin/', ['src/motiondetection.py']),
('/etc/motiondetection/', ['src/etc/motiondetection/motiondetection.cfg']),
('/etc/motiondetection/', ['src/etc/motiondetection/motiondetection.cfg.backup']),
('/usr/local/bin/webconfigurator/', ['src/webconfigurator/main.py']),
('/usr/local/bin/webconfigurator/static/', ['src/webconfigurator/static/.hidden']),
('/usr/local/bin/webconfigurator/static/javascripts/', ['src/webconfigurator/static/javascripts/main.js']),
('/usr/local/bin/webconfigurator/static/stylesheets/', ['src/webconfigurator/static/stylesheets/main.css']),
('/usr/local/bin/webconfigurator/templates/', ['src/webconfigurator/templates/main.html']),
('/usr/local/bin/webconfigurator/templates/', ['src/webconfigurator/templates/logs.html']),
('/usr/local/bin/webconfigurator/templates/', ['src/webconfigurator/templates/photos.html']),
('/usr/local/bin/webconfigurator/templates/', ['src/webconfigurator/templates/configure.html']),
],
zip_safe=True,
install_requires=__MODULES,
)