You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ha...@apache.org on 2020/08/03 23:11:44 UTC

[incubator-mxnet] branch master updated: update setup.py (#18850)

This is an automated email from the ASF dual-hosted git repository.

haibin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 7f2e314  update setup.py (#18850)
7f2e314 is described below

commit 7f2e314294bb3bc97ddfb6d98d7c27580db62ea7
Author: Haibin Lin <li...@gmail.com>
AuthorDate: Mon Aug 3 16:09:48 2020 -0700

    update setup.py (#18850)
    
    * update setup.py
    
    * update python version
    
    Co-authored-by: Lin <ha...@a483e7be4c92.ant.amazon.com>
---
 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 e2b4d64..9a5671f 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -131,15 +131,11 @@ setup(name='mxnet',
           '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 2377e61..132188d 100644
--- a/tools/pip/setup.py
+++ b/tools/pip/setup.py
@@ -64,7 +64,8 @@ class BinaryDistribution(Distribution):
 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 @@ setup(name=package_name,
           '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',