55 lines
1.2 KiB
Python
55 lines
1.2 KiB
Python
|
import re
|
||
|
import ast
|
||
|
import scipy
|
||
|
import wave
|
||
|
|
||
|
import click
|
||
|
import gpiozero
|
||
|
import picamera
|
||
|
import pyaudio as pyaudio
|
||
|
import pydub
|
||
|
import sounddevice as sounddevice
|
||
|
import soundfile as soundfile
|
||
|
|
||
|
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'
|
||
|
],
|
||
|
|
||
|
entry_points='''
|
||
|
[console_scripts]
|
||
|
pizzabox=pizzactrl.main:main
|
||
|
pizza-rewind=pizzactrl.main:rewind
|
||
|
''',
|
||
|
|
||
|
include_package_data=True
|
||
|
|
||
|
)
|
||
|
|