From 258abc592bc0cf3671a1a1ce8a6203ba3c17e0f7 Mon Sep 17 00:00:00 2001 From: Hugo Date: Fri, 10 Apr 2020 11:29:07 +0300 Subject: [PATCH] Add python_requires to help pip and Trove classifiers for PyPI --- setup.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setup.py b/setup.py index 84b6e177d..0c0cff5b0 100644 --- a/setup.py +++ b/setup.py @@ -39,6 +39,15 @@ def find_version(*file_paths): install_requires=[ 'tqdm', 'requests', 'torch', 'numpy', 'sentencepiece' ], + python_requires='>=3.5', + classifiers=[ + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3 :: Only', + ], # Package info packages=find_packages(exclude=('test', 'test.*')),