/
setup.py
94 lines (81 loc) · 3.59 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
"""
setup.py
The latest version of this package is available at:
<https://github.com/jantman/piface_webhooks>
################################################################################
Copyright 2015 Jason Antman <jason@jasonantman.com> <http://www.jasonantman.com>
This file is part of piface_webhooks.
piface_webhooks is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
piface_webhooks is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with piface_webhooks. If not, see <http://www.gnu.org/licenses/>.
The Copyright and Authors attributions contained herein may not be removed or
otherwise altered, except to add the Author attribution of a contributor to
this work. (Additional Terms pursuant to Section 7b of the AGPL v3)
################################################################################
While not legally required, I sincerely request that anyone who finds
bugs please submit them at <https://github.com/jantman/piface_webhooks> or
to me via email, and that you send any contributions or improvements
either as a pull request on GitHub, or to me via email.
################################################################################
AUTHORS:
Jason Antman <jason@jasonantman.com> <http://www.jasonantman.com>
################################################################################
"""
from setuptools import setup, find_packages
from piface_webhooks.version import VERSION
with open('README.rst') as file:
long_description = file.read()
requires = [
'pifacedigitalio>=3.0.5',
'pifacecommon>=4.1.2',
'requests'
]
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Affero General Public ' # continued--
'License v3 or later (AGPLv3+)',
'Natural Language :: English',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Education',
'Topic :: Home Automation',
]
setup(
name='piface_webhooks',
version=VERSION,
author='Jason Antman',
author_email='jason@jasonantman.com',
packages=find_packages(),
entry_points="""
[console_scripts]
piface-listener = piface_webhooks.listener:console_entry_point
piface-worker = piface_webhooks.worker:console_entry_point
""",
url='https://github.com/jantman/piface_webhooks',
description='Python script/daemon to read RPi PiFace inputs and run a webhook (or other callback) when they change.',
long_description=long_description,
install_requires=requires,
keywords="raspberrypi rpi raspberry pi piface webhook input sensor",
classifiers=classifiers
)