2021-10-19 10:10:04 +00:00
|
|
|
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',
|
2021-10-24 16:17:36 +00:00
|
|
|
'scipy',
|
2021-11-01 16:00:40 +00:00
|
|
|
'pyserial',
|
|
|
|
'pydub'
|
2021-10-19 10:10:04 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
entry_points='''
|
|
|
|
[console_scripts]
|
|
|
|
pizzabox=pizzactrl.main:main
|
|
|
|
pizza-rewind=pizzactrl.main:rewind
|
|
|
|
''',
|
|
|
|
|
|
|
|
include_package_data=True
|
|
|
|
|
|
|
|
)
|
|
|
|
|