Skip to content

Commit

Permalink
Support Python 3.6 on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hankcs committed Jul 11, 2024
1 parent b28d38b commit 77fe054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hanlp/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Author: hankcs
# Date: 2019-12-28 19:26

__version__ = '2.1.0-beta.57'
__version__ = '2.1.0-beta.58'
"""HanLP version"""


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
TENSORFLOW = ['tensorflow==2.6.0', 'keras==2.6.0', 'protobuf<3.19']

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

extras_require = {
Expand Down

0 comments on commit 77fe054

Please sign in to comment.