2017-10-30 15:01:26 +00:00
|
|
|
#!/usr/bin/env python3
|
2019-03-20 15:53:24 +00:00
|
|
|
# Copyright 2019 Mycroft AI Inc.
|
2018-03-01 02:49:34 +00:00
|
|
|
#
|
|
|
|
# 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.
|
2018-02-23 19:45:17 +00:00
|
|
|
from setuptools import setup
|
2018-02-21 20:27:21 +00:00
|
|
|
|
2017-11-03 19:39:52 +00:00
|
|
|
from precise import __version__
|
2017-10-30 15:01:26 +00:00
|
|
|
|
|
|
|
setup(
|
2017-11-03 19:39:52 +00:00
|
|
|
name='mycroft-precise',
|
|
|
|
version=__version__,
|
2018-08-10 04:10:59 +00:00
|
|
|
license='Apache-2.0',
|
|
|
|
author='Matthew Scholefield',
|
|
|
|
author_email='matthew.scholefield@mycroft.ai',
|
|
|
|
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',
|
|
|
|
],
|
2018-02-23 19:45:17 +00:00
|
|
|
packages=[
|
|
|
|
'precise',
|
|
|
|
'precise.scripts',
|
|
|
|
'precise.pocketsphinx',
|
|
|
|
'precise.pocketsphinx.scripts'
|
|
|
|
],
|
2017-10-30 15:01:26 +00:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
2018-09-05 10:02:52 +00:00
|
|
|
'precise-add-noise=precise.scripts.add_noise:main',
|
2018-02-23 19:45:17 +00:00
|
|
|
'precise-collect=precise.scripts.collect:main',
|
2018-02-21 20:27:21 +00:00
|
|
|
'precise-convert=precise.scripts.convert:main',
|
|
|
|
'precise-eval=precise.scripts.eval:main',
|
2018-04-18 19:48:43 +00:00
|
|
|
'precise-listen=precise.scripts.listen:main',
|
|
|
|
'precise-listen-pocketsphinx=precise.pocketsphinx.scripts.listen:main',
|
2018-02-27 03:19:30 +00:00
|
|
|
'precise-engine=precise.scripts.engine:main',
|
2018-07-12 21:57:02 +00:00
|
|
|
'precise-simulate=precise.scripts.simulate:main',
|
2018-02-21 05:42:04 +00:00
|
|
|
'precise-test=precise.scripts.test:main',
|
2019-03-20 04:22:23 +00:00
|
|
|
'precise-graph=precise.scripts.graph:main',
|
2018-02-22 07:02:50 +00:00
|
|
|
'precise-test-pocketsphinx=precise.pocketsphinx.scripts.test:main',
|
2018-02-21 20:27:21 +00:00
|
|
|
'precise-train=precise.scripts.train:main',
|
2018-07-12 22:24:01 +00:00
|
|
|
'precise-train-optimize=precise.scripts.train_optimize:main',
|
2018-07-11 17:44:46 +00:00
|
|
|
'precise-train-sampled=precise.scripts.train_sampled:main',
|
2018-02-21 20:27:21 +00:00
|
|
|
'precise-train-incremental=precise.scripts.train_incremental:main',
|
2019-03-20 15:45:39 +00:00
|
|
|
'precise-train-generated=precise.scripts.train_generated:main',
|
2019-04-08 20:08:16 +00:00
|
|
|
'precise-calc-threshold=precise.scripts.calc_threshold:main',
|
2017-10-30 15:01:26 +00:00
|
|
|
]
|
|
|
|
},
|
2020-03-24 07:39:50 +00:00
|
|
|
include_package_data=True,
|
2017-10-30 15:01:26 +00:00
|
|
|
install_requires=[
|
2020-03-19 08:07:12 +00:00
|
|
|
'numpy==1.16',
|
2019-03-29 06:43:09 +00:00
|
|
|
'tensorflow>=1.13,<1.14', # Must be on piwheels
|
2018-08-10 04:58:21 +00:00
|
|
|
'sonopy',
|
2017-10-30 15:01:26 +00:00
|
|
|
'pyaudio',
|
2020-02-04 17:22:00 +00:00
|
|
|
'keras<=2.1.5',
|
2018-02-09 00:43:03 +00:00
|
|
|
'h5py',
|
2017-11-28 03:36:49 +00:00
|
|
|
'wavio',
|
2017-12-19 01:34:38 +00:00
|
|
|
'typing',
|
2019-10-25 07:09:58 +00:00
|
|
|
'prettyparse>=1.1.0',
|
2018-07-05 19:54:08 +00:00
|
|
|
'precise-runner',
|
2018-07-10 21:02:20 +00:00
|
|
|
'attrs',
|
2019-11-01 04:37:14 +00:00
|
|
|
'fitipy<1.0',
|
2019-03-29 11:40:14 +00:00
|
|
|
'speechpy-fast',
|
2020-02-05 04:06:35 +00:00
|
|
|
'pyache'
|
2018-08-10 04:10:59 +00:00
|
|
|
]
|
2017-10-30 15:01:26 +00:00
|
|
|
)
|