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
·42 lines (37 loc) · 1.46 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
42
#!/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-4mic=ovos_PHAL_plugin_respeaker_4mic:Respeaker4MicControlPlugin'
setup(
name='ovos-PHAL-plugin-respeaker-4mic',
version='0.0.1',
description='A volume control plugin for OpenVoiceOS hardware abstraction layer',
url='https://github.com/OpenVoiceOS/ovos-PHAL-plugin-respeaker-4mic',
author='JarbasAi',
author_email='[email protected]',
license='Apache-2.0',
packages=['ovos_PHAL_plugin_respeaker_4mic',
'ovos_PHAL_plugin_respeaker_4mic.drivers'],
package_data={'': package_files('ovos_PHAL_plugin_respeaker_4mic')},
install_requires=["ovos-plugin-manager>=0.0.1",
"spidev",
"pyusb==1.1.0",
"gpiozero"],
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}
)