forked from joshuahiggins/pibooth-s3-upload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (54 loc) · 2.06 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
from io import open
import os.path as osp
from setuptools import setup
HERE = osp.abspath(osp.dirname(__file__))
sys.path.insert(0, HERE)
import pibooth_s3_upload as plugin # nopep8 : import shall be done after adding setup to paths
def main():
setup(
name=plugin.__name__,
version=plugin.__version__,
description=plugin.__doc__,
long_description=open(osp.join(HERE, 'README.md'), encoding='utf-8').read(),
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Natural Language :: English',
'Topic :: Multimedia :: Graphics :: Capture :: Digital Camera',
],
author="Joshua Higgins",
author_email="[email protected]",
url="https://github.com/joshuahiggins/pibooth-s3-upload",
download_url="https://github.com/joshuahiggins/pibooth-s3-upload/archive/{}.tar.gz".format(plugin.__version__),
license='GPLv3',
platforms=['unix', 'linux'],
keywords=[
'Raspberry Pi',
'camera',
'photobooth',
'aws',
's3'
],
py_modules=['pibooth_s3_upload'],
python_requires=">=3.6",
install_requires=[
'pibooth>=2.0.0',
'boto3>=1.22.0'
],
zip_safe=False, # Don't install the lib as an .egg zipfile
entry_points={'pibooth': ["pibooth_s3_upload = pibooth_s3_upload"]},
)
if __name__ == '__main__':
main()