Skip to content

Commit 39787b8

Browse files
committed
Support Python 3.6 on Windows
1 parent 3a0a9f7 commit 39787b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hanlp/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Author: hankcs
33
# Date: 2019-12-28 19:26
44

5-
__version__ = '2.1.0-beta.57'
5+
__version__ = '2.1.0-beta.58'
66
"""HanLP version"""
77

88

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
TENSORFLOW = ['tensorflow==2.6.0', 'keras==2.6.0', 'protobuf<3.19']
2121

2222
TOKENIZERS = []
23-
if (sys_version_info.major, sys_version_info.minor) == (3, 6) and sys.platform == 'darwin':
23+
if (sys_version_info.major, sys_version_info.minor) == (3, 6) and sys.platform in {'darwin', 'win32'}:
2424
TOKENIZERS = ['tokenizers==0.10.3']
2525

2626
extras_require = {

0 commit comments

Comments
 (0)