From 7f2e314294bb3bc97ddfb6d98d7c27580db62ea7 Mon Sep 17 00:00:00 2001 From: Haibin Lin Date: Mon, 3 Aug 2020 16:09:48 -0700 Subject: [PATCH] update setup.py (#18850) * update setup.py * update python version Co-authored-by: Lin --- python/setup.py | 8 ++------ tools/pip/setup.py | 7 ++----- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/python/setup.py b/python/setup.py index e2b4d645a792..9a5671f3a40f 100644 --- a/python/setup.py +++ b/python/setup.py @@ -131,15 +131,11 @@ def config_cython(): 'Intended Audience :: Education', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', - 'Programming Language :: C++', 'Programming Language :: Cython', - 'Programming Language :: Other', # R, Scala - 'Programming Language :: Perl', 'Programming Language :: Python', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: Implementation :: CPython', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Artificial Intelligence', diff --git a/tools/pip/setup.py b/tools/pip/setup.py index 2377e6177641..132188d01107 100644 --- a/tools/pip/setup.py +++ b/tools/pip/setup.py @@ -64,7 +64,8 @@ def has_ext_modules(self): DEPENDENCIES = [ 'numpy<2.0.0,>1.16.0', 'requests>=2.20.0,<3', - 'graphviz<0.9.0,>=0.8.1' + 'graphviz<0.9.0,>=0.8.1', + 'contextvars;python_version<"3.7"' ] shutil.rmtree(os.path.join(CURRENT_DIR, 'mxnet'), ignore_errors=True) @@ -192,12 +193,8 @@ def skip_markdown_comments(md): 'Intended Audience :: Education', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', - 'Programming Language :: C++', 'Programming Language :: Cython', - 'Programming Language :: Other', # R, Scala - 'Programming Language :: Perl', 'Programming Language :: Python', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8',