pizzabox-main/setup.py
jpunkt 711454a06c Going through TODOs for SIBI.
Implemented, untested:
- start button
- record sounds as mp3 (using pydub)
- video and audio converted to mp4
- added new state REWIND
2021-11-01 17:00:40 +01:00

46 lines
1 KiB
Python

import re
import ast
from setuptools import setup
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('pizzactrl/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='raspibox-mc',
version=version,
description='raspberry pi controller for sound, light and motors',
url='https://github.com/jpunkt/pizzabox-mc.git',
author='jpunkt',
author_email='johannes@arg-art.org',
platforms='any',
packages=[
'pizzactrl',
'pizzactrl.sounds'
],
install_requires=[
'gpiozero',
'picamera',
'click',
'sounddevice',
'soundfile',
'scipy',
'pyserial',
'pydub'
],
entry_points='''
[console_scripts]
pizzabox=pizzactrl.main:main
pizza-rewind=pizzactrl.main:rewind
''',
include_package_data=True
)