-
Notifications
You must be signed in to change notification settings - Fork 509
/
Copy pathsetup.py
41 lines (37 loc) · 1.58 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
import setuptools
import os
# Get the absolute path of requirements.txt
req_path = os.path.join(os.path.dirname(__file__), "requirements.txt")
# Read requirements.txt safely
with open(req_path, "r", encoding="utf-8") as f:
requirements = f.read().splitlines()
# Read README.md
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="realtimestt",
version="0.3.98",
author="Kolja Beigel",
author_email="kolja.beigel@web.de",
description="A fast Voice Activity Detection and Transcription System",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/KoljaB/RealTimeSTT",
packages=setuptools.find_packages(include=["RealtimeSTT", "RealtimeSTT_server"]),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=requirements,
keywords="real-time, audio, transcription, speech-to-text, voice-activity-detection, VAD, real-time-transcription, ambient-noise-detection, microphone-input, faster_whisper, speech-recognition, voice-assistants, audio-processing, buffered-transcription, pyaudio, ambient-noise-level, voice-deactivity",
package_data={"RealtimeSTT": ["warmup_audio.wav"]},
include_package_data=True,
entry_points={
'console_scripts': [
'stt-server=RealtimeSTT_server.stt_server:main',
'stt=RealtimeSTT_server.stt_cli_client:main',
],
},
)