Skip to content

Commit

Permalink
updated readme and version
Browse files Browse the repository at this point in the history
  • Loading branch information
nateshmbhat committed Jul 6, 2020
1 parent 5d66d93 commit 9916273
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -66,7 +76,10 @@ engine.runAndWait()

```

#### **Full documentation of the Library**



### **Full documentation of the Library**

https://pyttsx3.readthedocs.io/en/latest/

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
install_requires = [
'comtypes; platform_system == "Windows"',
'pypiwin32; platform_system == "Windows"',
'pywin32; platform_system == "Windows"',
'pyobjc>=2.4; platform_system == "Darwin"'
]

Expand All @@ -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',
Expand Down

0 comments on commit 9916273

Please sign in to comment.