From 991627368bf19478d908eb1c06a2d32d31c38487 Mon Sep 17 00:00:00 2001 From: nateshmbhat Date: Mon, 6 Jul 2020 23:06:01 +0530 Subject: [PATCH] updated readme and version --- README.md | 21 +++++++++++++++++---- setup.py | 3 ++- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 83ece5e..4a961f2 100644 --- a/README.md +++ b/README.md @@ -5,16 +5,26 @@ `pyttsx3` is a text-to-speech conversion library in Python. Unlike alternative libraries, **it works offline**. -### Installation : +## Installation : pip install pyttsx3 +> If you get installation errors , make sure you first upgrade your wheel version using : +`pip install --upgrade wheel` -If you recieve errors such as `No module named win32com.client`, `No module named win32`, or `No module named win32api`, you will need to additionally install `pypiwin32`. +### Linux installation requirements : ++ If you are on a linux system and if the voice output is not working , then : -### Usage : + Install espeak , ffmpeg and libespeak1 as shown below: + + ``` + sudo apt update && sudo apt install espeak ffmpeg libespeak1 + ``` + + +## Usage : ```python3 import pyttsx3 @@ -66,7 +76,10 @@ engine.runAndWait() ``` -#### **Full documentation of the Library** + + + +### **Full documentation of the Library** https://pyttsx3.readthedocs.io/en/latest/ diff --git a/setup.py b/setup.py index 32b525b..b8a8be1 100644 --- a/setup.py +++ b/setup.py @@ -6,6 +6,7 @@ install_requires = [ 'comtypes; platform_system == "Windows"', 'pypiwin32; platform_system == "Windows"', + 'pywin32; platform_system == "Windows"', 'pyobjc>=2.4; platform_system == "Darwin"' ] @@ -17,7 +18,7 @@ setup( name='pyttsx3', packages=['pyttsx3', 'pyttsx3.drivers'], - version='2.89', + version='2.90', description='Text to Speech (TTS) library for Python 2 and 3. Works without internet connection or delay. Supports multiple TTS engines, including Sapi5, nsss, and espeak.', long_description=long_description, summary='Offline Text to Speech library with multi-engine support',