This repository has been archived by the owner on Jun 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·41 lines (36 loc) · 1.42 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env python3
import os
from setuptools import setup
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
PLUGIN_ENTRY_POINT = 'ovos-PHAL-plugin-respeaker-2mic=ovos_PHAL_plugin_respeaker_2mic:Respeaker2MicControlPlugin'
setup(
name='ovos-PHAL-plugin-respeaker-2mic',
version='0.0.1',
description='A volume control plugin for OpenVoiceOS hardware abstraction layer',
url='https://github.com/OpenVoiceOS/ovos-PHAL-plugin-respeaker-2mic',
author='JarbasAi',
author_email='jarbasai@mailfence.com',
license='Apache-2.0',
packages=['ovos_PHAL_plugin_respeaker_2mic',
'ovos_PHAL_plugin_respeaker_2mic.drivers'],
package_data={'': package_files('ovos_PHAL_plugin_respeaker_2mic')},
install_requires=["ovos-plugin-manager>=0.0.1",
"spidev",
"RPi.GPIO"],
zip_safe=True,
include_package_data=True,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Text Processing :: Linguistic',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
entry_points={'ovos.plugin.phal': PLUGIN_ENTRY_POINT}
)