This repository was archived by the owner on Jun 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 6161 glob ('sphinxbase/src/libsphinxbase/fe/*.c' )
6262)
6363
64- libsphinxad = []
65-
6664libpocketsphinx = glob ('pocketsphinx/src/libpocketsphinx/*.c' )
6765
6866sb_include_dirs = ['sphinxbase/include' , 'sphinxbase/include/sphinxbase' ]
8280extra_compile_args = []
8381
8482if 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' ,
9590 '-Wno-unused-result'
9691 ])
9792elif 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 ),
113104 '/wd4018'
114105 ])
115106elif sys .platform .startswith ('darwin' ):
116- pass
107+ sb_include_dirs . extend ([ 'include' ])
117108else :
118109 pass
119110
120111sb_sources = (
121112 libsphinxbase +
122- libsphinxad +
123113 ['sphinxbase/swig/sphinxbase.i' ]
124114)
125115
126116ps_sources = (
127117 libsphinxbase +
128- libsphinxad +
129118 libpocketsphinx +
130119 ['pocketsphinx/swig/pocketsphinx.i' ]
131120)
155144156145 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 = [
You can’t perform that action at this time.
0 commit comments