fix:change setup

pull/2165/head
lidongdong 2 years ago
parent 06a44f7460
commit d21c1f2b10

@ -89,11 +89,11 @@ FILES = [
or fn.endswith('unittest.cc'))
]
# yapf: enable
# LIBS = ['stdc++']
LIBS = ['-static-libstdc++']
LIBS = ['stdc++']
if platform.system() != 'Darwin':
# LIBS.append('rt')
pass
LIBS.append('rt')
if platform.system() != 'Windows':
LIBS = ['-static-libstdc++']
ARGS = ['-O3', '-DNDEBUG', '-DKENLM_MAX_ORDER=6', '-std=c++11']
@ -127,12 +127,12 @@ decoders_module = [
]
setup(
name='paddlespeech_ldd_ctcdecoders',
name='paddlespeech_ctcdecoders',
version='0.2.0',
description="CTC decoders in paddlespeech",
author="PaddlePaddle Speech user lidongdong compile for windows",
author_email="double_dongli@foxmail.com",
author="PaddlePaddle Speech and Language Team",
author_email="paddlesl@baidu.com",
url="https://github.com/PaddlePaddle/PaddleSpeech",
license='Apache 2.0, GNU Lesser General Public License v3 (LGPLv3) (LGPL-3)',
ext_modules=decoders_module,
py_modules=['paddlespeech_ldd_ctcdecoders'])
py_modules=['paddlespeech_ctcdecoders'])

Loading…
Cancel
Save