Provides RHVoice libraries for rhvoice-wrapper
Project description
rhvoice-wrapper-bin
Provides RHVoice libraries for rhvoice-wrapper
. Depends on rhvoice-wrapper-data
, that contains languages and voices.
If this package installed, rhvoice-wrapper
will automatically use it by default.
Install on Linux
This will download and build RHVoice and may take many time
apt-get install --no-install-recommends scons build-essential python3-pip python3-setuptools python3-wheel
pip install rhvoice-wrapper-bin
Install on Windows
Binary
python -m pip install --upgrade pip setuptools wheel
python -m pip install rhvoice-wrapper-bin --only-binary rhvoice-wrapper-bin
Build
Install manually: git, Unicode NSIS and Visual Studio 2015 (2013+ must works)
python -m pip install --upgrade pip setuptools wheel
python -m pip install pypiwin32 scons
python -m pip install rhvoice-wrapper-bin --no-binary rhvoice-wrapper-bin
Usage
rhvoice-wrapper
will automatically use data path from rhvoice-wrapper-bin
(but of course of rhvoice-wrapper-data
).
On Linux you must set package library path for LD before run python scripts. You may set LD_LIBRARY_PATH
, this must be works:
export LD_LIBRARY_PATH=$(pip3 show rhvoice-wrapper-bin | grep Location | awk '{print $2}')/rhvoice_wrapper_bin/lib/
python3 -u <script using rhvoice_wrapper>
Get info from library
import rhvoice_wrapper_bin
# All the paths will None in error
# Contains path to the RHVoice library
print(rhvoice_wrapper_bin.lib_path)
# Contains path to the RHVoice data
print(rhvoice_wrapper_bin.data_path)
# Contains path to the RHVoice libraries. Must be set as dynamic libraries path
print(rhvoice_wrapper_bin.LIBS_PATH)
# Contains path to the rhvoice-wrapper-data
print(rhvoice_wrapper_bin.PATH)
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rhvoice-wrapper-bin-0.1.0.tar.gz
(17.4 kB
view hashes)
Built Distributions
Close
Hashes for rhvoice-wrapper-bin-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de259f9c897b962d1c14d0e379741c6aae259f278487d545b00c7ba24d16bb5c |
|
MD5 | 74a082236c15044aff76e792002d8a3c |
|
BLAKE2b-256 | 9640d88ebf005ce31004add316c80d4084ba2f9314b8323c8ecefed7252c7fe1 |
Close
Hashes for rhvoice_wrapper_bin-0.1.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5857918dd33151e63263df0b2c6d7cd0aa729c4863794429e2858ecdfb50ecfa |
|
MD5 | 2c59e2ea0007ed74d8b9d0b76dc6db53 |
|
BLAKE2b-256 | 3f74d39621b9295a16c5c98952cde5167a299cdda7921e0c72122ec5c62fa459 |
Close
Hashes for rhvoice_wrapper_bin-0.1.0-py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | faa8d1b328dfafe10d19f93b1561a2cf09d66c22996eee9fb82dc8fc1fedbac4 |
|
MD5 | dddc59772a1aa6cef6e8142e8188a466 |
|
BLAKE2b-256 | 49c00a632627100c5f8710e5b1900e3d36331363b998f0724fd51c27721ccb40 |