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-bin
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.1.tar.gz
(17.4 kB
view hashes)
Built Distributions
Close
Hashes for rhvoice-wrapper-bin-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f58cc3dcc042d960b8dad3c782762e090d9ef2ca77e1ea208368a12825f5e21 |
|
MD5 | b7c45cbecaa4e8138d7b528f81831eb5 |
|
BLAKE2b-256 | 82996a72c53cec01a3fb3da70d96ea974bba68287d87617e835b61c74d91fcdc |
Close
Hashes for rhvoice_wrapper_bin-0.1.1-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1930da0ec2c27574aed1d7ff5f5f7531ea7d4caf0a261fb435f9c46e5c7fcd68 |
|
MD5 | cd414b7981df7a997b73c303513b01b6 |
|
BLAKE2b-256 | eb948fb769b1d46a6b6a383232880102b2a245eaca57ce13fb91c4a93c74cf7b |
Close
Hashes for rhvoice_wrapper_bin-0.1.1-py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6d4944a168ab28fc9d2eebf0c6cc43dc8111caa24a7d747bd27fb2c3ea6c13a |
|
MD5 | fa946c33f2b27e0741e8a9e3641723dc |
|
BLAKE2b-256 | 28650481cd6df151946783f2fbe40755e679184c7490c08df13dfe79c8a83ecd |