|
61 | 61 | glob('sphinxbase/src/libsphinxbase/fe/*.c') |
62 | 62 | ) |
63 | 63 |
|
64 | | -libsphinxad = [] |
65 | | - |
66 | 64 | libpocketsphinx = glob('pocketsphinx/src/libpocketsphinx/*.c') |
67 | 65 |
|
68 | 66 | sb_include_dirs = ['sphinxbase/include', 'sphinxbase/include/sphinxbase'] |
|
82 | 80 | extra_compile_args = [] |
83 | 81 |
|
84 | 82 | if sys.platform.startswith('linux'): |
85 | | - libsphinxad.extend([ |
86 | | - 'sphinxbase/src/libsphinxad/ad_oss.c' |
87 | | - ]) |
88 | 83 | sb_include_dirs.extend(['include']) |
89 | 84 | extra_compile_args.extend([ |
90 | 85 | '-Wno-unused-label', |
|
95 | 90 | '-Wno-unused-result' |
96 | 91 | ]) |
97 | 92 | elif sys.platform.startswith('win'): |
98 | | - libsphinxad.extend([ |
99 | | - 'sphinxbase/src/libsphinxad/ad_win32.c' |
100 | | - ]) |
101 | 93 | sb_include_dirs.extend(['sphinxbase/include/win32']) |
102 | | - libraries.append('winmm') |
103 | 94 | define_macros.extend([ |
104 | 95 | ('WIN32', None), |
105 | 96 | ('_WINDOWS', None), |
|
113 | 104 | '/wd4018' |
114 | 105 | ]) |
115 | 106 | elif sys.platform.startswith('darwin'): |
116 | | - pass |
| 107 | + sb_include_dirs.extend(['include']) |
117 | 108 | else: |
118 | 109 | pass |
119 | 110 |
|
120 | 111 | sb_sources = ( |
121 | 112 | libsphinxbase + |
122 | | - libsphinxad + |
123 | 113 | ['sphinxbase/swig/sphinxbase.i'] |
124 | 114 | ) |
125 | 115 |
|
126 | 116 | ps_sources = ( |
127 | 117 | libsphinxbase + |
128 | | - libsphinxad + |
129 | 118 | libpocketsphinx + |
130 | 119 | ['pocketsphinx/swig/pocketsphinx.i'] |
131 | 120 | ) |
|
155 | 144 | author_email='dp@bambucha.org', |
156 | 145 | maintainer='Dmitry Prazdnichnov', |
157 | 146 | maintainer_email='dp@bambucha.org', |
158 | | - url='https://github.com/bambocher/pocketsphinx-python', |
| 147 | + url='https://github.com/cmusphinx/pocketsphinx-python', |
159 | 148 | download_url='https://pypi.python.org/pypi/pocketsphinx', |
160 | 149 | packages=['sphinxbase', 'pocketsphinx'], |
161 | 150 | ext_modules=[ |
|
0 commit comments