Skip to content

Commit 7e055de

Browse files
author
He Hao
committed
fixed a bug in parsing requirements for packaging
1 parent 20eddab commit 7e055de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ pyspellchecker
33
contractions
44
names-dataset
55
# For unit test
6-
unittest-xml-reporting
6+
unittest-xml-reporting

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
def parse_requirements(fn):
55
with open(fn) as f:
6-
return [req for req in f.read().strip().split('\n') if "==" in req and "#" not in req]
6+
return [req for req in f.read().strip().split('\n') if "#" not in req]
77

88

99
parsed_requirements = parse_requirements(

0 commit comments

Comments
 (0)