-
Notifications
You must be signed in to change notification settings - Fork 188
/
setup.py
41 lines (37 loc) · 1.65 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
#! /usr/bin/env python3
# Copyright (c) 2021-2022 Raspberry Pi & Raspberry Pi Foundation
#
# SPDX-License-Identifier: BSD-2-Clause
from setuptools import setup
with open("README.md") as readme:
long_description = readme.read()
setup(
name='picamera2',
version='0.3.22',
description='The libcamera-based Python interface to Raspberry Pi cameras, based on the original Picamera library',
long_description=long_description,
long_description_content_type='text/markdown',
author='Raspberry Pi & Raspberry Pi Foundation',
author_email='[email protected]',
url='https://github.com/RaspberryPi/picamera2',
project_urls={
'Bug Tracker': 'https://github.com/RaspberryPi/picamera2/issues',
},
license='BSD 2-Clause',
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.9",
"Topic :: Multimedia :: Graphics :: Capture :: Digital Camera",
],
packages=['picamera2', 'picamera2.devices', 'picamera2.devices.hailo', 'picamera2.devices.imx500',
'picamera2.devices.imx708', 'picamera2.encoders', 'picamera2.outputs', 'picamera2.previews',
'picamera2.allocators'],
python_requires='>=3.9',
licence='BSD 2-Clause License',
install_requires=['numpy', 'PiDNG', 'piexif', 'pillow', 'simplejpeg', 'v4l2-python3',
'python-prctl', 'av', 'python3-libarchive-c', 'python3-tqdm',
'python3-jsonschema'],
extras_require={"gui": ['pyopengl', 'PyQt5']})