Update to build cew with espeak-ng#258
Conversation
Also fix spurious warning messages that occur for at least python 3.8.
…ebianPackage-20200402 Add package for python3-aeneas
danielbair
left a comment
There was a problem hiding this comment.
The debian changes are not mine...
|
espeak-ng installer for windows can be downloaded from their repository. espeak-ng for mac is available from MacPorts and HomeBrew (from my homebrew-tap). |
|
@danielbair is this PR still relevant / needed / desired ? |
|
On linux the espeak-ng packages provide a full replacement for espeak. But on Windows and Mac the espeak-ng package doesn't provide full espeak replacement files. So this PR does help Mac and Windows use espeak-ng with cew. I am implementing this PR when building the AIO installer, but this would allow others to benefit from this for installing via other methods. |
|
On Arch linux it looks like |
abathur
left a comment
There was a problem hiding this comment.
I can't speak to this changeset broadly, but I can at least note that the changes in b80b1ca helped me build aeneas with cew support via Nix.
(The espeak package in nixpkgs isn't buildable on macOS since it hasn't been patched to disable the async feature as homebrew does. I wasn't sure about the consequences of patching the feature out, so I decided to try the espeak-ng approach first...)
| IS_LINUX = (os.name == "posix") and (os.uname()[0] == "Linux") | ||
| IS_OSX = (os.name == "posix") and (os.uname()[0] == "Darwin") | ||
| IS_WINDOWS = (os.name == "nt") | ||
| IS_64BITS = (sys.maxsize > 2**32) |
There was a problem hiding this comment.
I had to patch in an import sys to get this working.
Tested on windows and mac.
Set AENEAS_USE_ESPEAKNG=True to build cew with espeak-ng