porcupine/demo/respeaker/setup.py
Go to the documentation of this file.
1 #
2 # Copyright 2020 Picovoice Inc.
3 #
4 # You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
5 # file accompanying this source.
6 #
7 # Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8 # an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9 # specific language governing permissions and limitations under the License.
10 #
11 
12 import os
13 import shutil
14 
15 import setuptools
16 
17 os.system('git clean -dfx')
18 
19 package_folder = os.path.join(os.path.dirname(__file__), 'ppnrespeakerdemo')
20 
21 shutil.copy(os.path.join(os.path.dirname(__file__), '../../LICENSE'), package_folder)
22 
23 with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as f:
24  long_description = f.read()
25 
26 setuptools.setup(
27  name="ppnrespeakerdemo",
28  version="2.0.0",
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,
38  classifiers=[
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"
45  ],
46  entry_points=dict(
47  console_scripts=[
48  'porcupine_respeaker_demo=ppnrespeakerdemo.porcupine_demo:main',
49  ],
50  ),
51  python_requires='>=3',
52  keywords="wake word, voice control, speech recognition, voice recognition, picovoice, porcupine, respeaker",
53 )


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:50