Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit c59e6cd

Browse files
committed
Merge pull request #6 from cmusphinx/master
Really thanks.
2 parents a2f0c78 + b530f26 commit c59e6cd

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

setup.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@
6161
glob('sphinxbase/src/libsphinxbase/fe/*.c')
6262
)
6363

64-
libsphinxad = []
65-
6664
libpocketsphinx = glob('pocketsphinx/src/libpocketsphinx/*.c')
6765

6866
sb_include_dirs = ['sphinxbase/include', 'sphinxbase/include/sphinxbase']
@@ -82,9 +80,6 @@
8280
extra_compile_args = []
8381

8482
if sys.platform.startswith('linux'):
85-
libsphinxad.extend([
86-
'sphinxbase/src/libsphinxad/ad_oss.c'
87-
])
8883
sb_include_dirs.extend(['include'])
8984
extra_compile_args.extend([
9085
'-Wno-unused-label',
@@ -95,11 +90,7 @@
9590
'-Wno-unused-result'
9691
])
9792
elif sys.platform.startswith('win'):
98-
libsphinxad.extend([
99-
'sphinxbase/src/libsphinxad/ad_win32.c'
100-
])
10193
sb_include_dirs.extend(['sphinxbase/include/win32'])
102-
libraries.append('winmm')
10394
define_macros.extend([
10495
('WIN32', None),
10596
('_WINDOWS', None),
@@ -113,19 +104,17 @@
113104
'/wd4018'
114105
])
115106
elif sys.platform.startswith('darwin'):
116-
pass
107+
sb_include_dirs.extend(['include'])
117108
else:
118109
pass
119110

120111
sb_sources = (
121112
libsphinxbase +
122-
libsphinxad +
123113
['sphinxbase/swig/sphinxbase.i']
124114
)
125115

126116
ps_sources = (
127117
libsphinxbase +
128-
libsphinxad +
129118
libpocketsphinx +
130119
['pocketsphinx/swig/pocketsphinx.i']
131120
)
@@ -155,7 +144,7 @@
155144
author_email='[email protected]',
156145
maintainer='Dmitry Prazdnichnov',
157146
maintainer_email='[email protected]',
158-
url='https://github.com/bambocher/pocketsphinx-python',
147+
url='https://github.com/cmusphinx/pocketsphinx-python',
159148
download_url='https://pypi.python.org/pypi/pocketsphinx',
160149
packages=['sphinxbase', 'pocketsphinx'],
161150
ext_modules=[

0 commit comments

Comments
 (0)