Skip to content

Commit

Permalink
add doc and remote useless set in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
liu946 committed Dec 7, 2017
1 parent a780792 commit f48e580
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/install.rst
@@ -1,6 +1,8 @@
安装 pyltp
===========

* 注:由于新版本增加了新的第三方依赖如dynet等,不再支持 windows 下 python2 环境。

使用 pip 安装
-------------

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -103,7 +103,7 @@ def _single_compile(obj):
extra_compile_args = []

if sys.platform == 'win32':
extra_compile_args += ['/std:c++11', '/DBOOST_PYTHON_SOURCE', '/DBOOST_PYTHON_STATIC_LIB', '/DBOOST_ALL_NO_LIB', '/D_WINDOWS', '/EHsc']
extra_compile_args += ['/DBOOST_PYTHON_SOURCE', '/DBOOST_PYTHON_STATIC_LIB', '/DBOOST_ALL_NO_LIB', '/D_WINDOWS', '/EHsc']
elif sys.platform == 'darwin':
os.environ['CC'] = 'clang++'
os.environ['CXX'] = 'clang++'
Expand Down

0 comments on commit f48e580

Please sign in to comment.