forked from techiaith/pyfestival
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·50 lines (44 loc) · 1.67 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
from distutils.core import setup, Extension
import os
festival_include = os.environ.get("FESTIVAL_INCLUDE", '/usr/include/festival')
speech_tools_include = os.environ.get("SPECCH_INCLUDE", '/usr/include/speech_tools')
festival_lib = os.environ.get("FESTIVAL_LIB", '/usr/lib')
festival_classifiers = [
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"Topic :: Multimedia :: Sound/Audio :: Sound Synthesis",
"Topic :: Multimedia :: Sound/Audio :: Speech"
]
long_description = """A Python wrapper around the Festival Speech Synthesis System:
http://www.cstr.ed.ac.uk/projects/festival/
pyfestival creates a C module built on top of the festival source code, making it a self-contained Python library
(there is no need to run festival-server alongside).
pyfestival supports (and is tested on) Python 2.7+ including Python 3
"""
setup(
name='pyfestival',
description='Python Festival module',
long_description=long_description,
url="https://github.com/techiaith/pyfestival",
author="Patrick Robertson",
author_email="[email protected]",
license="BSD",
py_modules=['festival'],
ext_modules=[
Extension(
'_festival',
['_festival.cpp'],
include_dirs=[festival_include, speech_tools_include],
library_dirs=[festival_lib],
libraries=['Festival', 'estools', 'estbase', 'eststring'],
),
],
platforms=["*nix"],
bugtrack_url="https://github.com/techiaith/pyfestival/issues",
version="0.5",
)