Skip to content

Commit b204daa

Browse files
committed
Only install texttoknowledgegraph on 3.9+
1 parent 2046065 commit b204daa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ def main():
2323
'hypothesis': ['gilda>1.0.0'],
2424
'geneways': ['stemming', 'nltk<3.6'],
2525
'bel': ['pybel>=0.15.0,<0.16.0'],
26-
'tkg': ['pybel>=0.15.0,<0.16.0', 'texttoknowledgegraph'],
26+
'tkg': ['pybel>=0.15.0,<0.16.0',
27+
'texttoknowledgegraph; python_version >= "3.9"'],
2728
'sbml': ['python-libsbml'],
2829
# Tools and analysis
2930
'machine': ['pytz', 'tzlocal', 'tweepy', 'pyyaml>=5.1.0',

0 commit comments

Comments
 (0)