From 9371a501159ede137db0c027faf7a9ea6524b1bd Mon Sep 17 00:00:00 2001 From: wuzewu Date: Wed, 26 Jun 2019 22:33:31 +0800 Subject: [PATCH] Add ahocorasick requirement --- requirements.txt | 1 + setup.py | 10 ++-------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/requirements.txt b/requirements.txt index b6438ae6..371add47 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,3 +9,4 @@ six >= 1.10.0 chardet == 3.0.4 requests pandas +pyahocorasick diff --git a/setup.py b/setup.py index a43c6135..e126d983 100644 --- a/setup.py +++ b/setup.py @@ -31,14 +31,8 @@ def python_version(): max_version, mid_version, min_version = python_version() REQUIRED_PACKAGES = [ - 'numpy >= 1.12.0', - 'six >= 1.10.0', - 'pandas', - 'protobuf >= 3.1.0', - 'pyyaml', - 'Pillow', - 'requests', - "visualdl >= 1.3.0", + 'numpy >= 1.12.0', 'six >= 1.10.0', 'pandas', 'protobuf >= 3.1.0', 'pyyaml', + 'Pillow', 'requests', "visualdl >= 1.3.0", "pyahocorasick" ] if max_version < 3: -- GitLab