-
Notifications
You must be signed in to change notification settings - Fork 230
/
setup.py
89 lines (86 loc) · 3.4 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/usr/bin/env python3
# Copyright 2019 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import setup
from precise import __version__
setup(
name='mycroft-precise',
version=__version__,
license='Apache-2.0',
author='Matthew Scholefield',
description='Mycroft Precise Wake Word Listener',
long_description='View more info at `the GitHub page '
'<https://github.com/mycroftai/mycroft-precise#mycroft-precise>`_',
url='http://github.com/MycroftAI/mycroft-precise',
keywords='wakeword keyword wake word listener sound',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Text Processing :: Linguistic',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
packages=[
'precise',
'precise.scripts',
'precise.pocketsphinx',
'precise.pocketsphinx.scripts'
],
entry_points={
'console_scripts': [
'precise-add-noise=precise.scripts.add_noise:main',
'precise-collect=precise.scripts.collect:main',
'precise-convert=precise.scripts.convert:main',
'precise-eval=precise.scripts.eval:main',
'precise-listen=precise.scripts.listen:main',
'precise-listen-pocketsphinx=precise.pocketsphinx.scripts.listen:main',
'precise-engine=precise.scripts.engine:main',
'precise-simulate=precise.scripts.simulate:main',
'precise-test=precise.scripts.test:main',
'precise-graph=precise.scripts.graph:main',
'precise-test-pocketsphinx=precise.pocketsphinx.scripts.test:main',
'precise-train=precise.scripts.train:main',
'precise-train-optimize=precise.scripts.train_optimize:main',
'precise-train-sampled=precise.scripts.train_sampled:main',
'precise-train-incremental=precise.scripts.train_incremental:main',
'precise-train-generated=precise.scripts.train_generated:main',
'precise-calc-threshold=precise.scripts.calc_threshold:main',
]
},
include_package_data=True,
install_requires=[
'numpy==1.16',
'tensorflow>=1.13,<1.14', # Must be on piwheels
'sonopy',
'pyaudio',
'keras<=2.1.5',
'h5py',
'wavio',
'typing',
'prettyparse>=1.1.0',
'precise-runner',
'attrs',
'fitipy<1.0',
'speechpy-fast',
'pyache'
]
)