提交 d21c1f2b 编写于 作者: L lidongdong

fix:change setup

上级 06a44f74
......@@ -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'])
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册