17 os.system(
'git clean -dfx')
19 package_folder = os.path.join(os.path.dirname(__file__),
'ppnrespeakerdemo')
21 shutil.copy(os.path.join(os.path.dirname(__file__),
'../../LICENSE'), package_folder)
23 with open(os.path.join(os.path.dirname(__file__),
'README.md'),
'r')
as f:
24 long_description = f.read()
27 name=
"ppnrespeakerdemo",
29 author=
"Picovoice Inc.",
30 author_email=
"hello@picovoice.ai",
31 description=
"Porcupine wake word engine demo for ReSpeaker 4-mic hat.",
32 long_description=long_description,
33 long_description_content_type=
"text/markdown",
34 url=
"https://github.com/Picovoice/porcupine",
35 packages=[
"ppnrespeakerdemo"],
36 install_requires=[
"pvporcupine==2.0.0",
"spidev",
"gpiozero",
"pvrecorder==1.0.2"],
37 include_package_data=
True,
39 "Development Status :: 5 - Production/Stable",
40 "Intended Audience :: Developers",
41 "License :: OSI Approved :: Apache Software License",
42 "Operating System :: OS Independent",
43 "Programming Language :: Python :: 3",
44 "Topic :: Multimedia :: Sound/Audio :: Speech"
48 'porcupine_respeaker_demo=ppnrespeakerdemo.porcupine_demo:main',
51 python_requires=
'>=3',
52 keywords=
"wake word, voice control, speech recognition, voice recognition, picovoice, porcupine, respeaker",