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

indhub 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 0f8d2d2  Remove pip overwrites (#12604)
0f8d2d2 is described below

commit 0f8d2d2267880ec575e8d41255f9b02c5d6ad552
Author: Aaron Markham <[email protected]>
AuthorDate: Thu Sep 20 10:17:34 2018 -0700

    Remove pip overwrites (#12604)
    
    * remove overwrites on pip instructions coming from source
    
    * removing examples version overwrite
---
 docs/build_version_doc/AddVersion.py | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/docs/build_version_doc/AddVersion.py 
b/docs/build_version_doc/AddVersion.py
index f5e28df..f429d34 100755
--- a/docs/build_version_doc/AddVersion.py
+++ b/docs/build_version_doc/AddVersion.py
@@ -87,30 +87,5 @@ if __name__ == '__main__':
                 outstr = outstr.replace('http://mxnet.io', 
'https://mxnet.incubator.apache.org/'
                                                                'versions/%s' % 
(args.current_version))
 
-            # Fix git clone and pip installation to specific tag
-            pip_pattern = ['', '-cu80', '-cu75', '-cu80mkl', '-cu75mkl', 
'-mkl']
-            if args.current_version == 'master':
-                outstr = outstr.replace('git clone --recursive 
https://github.com/dmlc/mxnet',
-                                        'git clone --recursive 
https://github.com/apache/incubator-mxnet.git mxnet')
-                for trail in pip_pattern:
-                    outstr = outstr.replace('pip install mxnet%s<' % (trail),
-                                            'pip install mxnet%s --pre<' % 
(trail))
-                    outstr = outstr.replace('pip install mxnet%s\n<' % (trail),
-                                            'pip install mxnet%s --pre\n<' % 
(trail))
-            else:
-                outstr = outstr.replace('git clone --recursive 
https://github.com/dmlc/mxnet',
-                                        'git clone --recursive 
https://github.com/apache/incubator-mxnet.git mxnet '
-                                        '--branch %s' % (args.current_version))
-                for trail in pip_pattern:
-                    outstr = outstr.replace('pip install mxnet%s<' % (trail),
-                                            'pip install mxnet%s==%s<' % 
(trail, args.current_version))
-                    outstr = outstr.replace('pip install mxnet%s\n<' % (trail),
-                                            'pip install mxnet%s==%s\n<' % 
(trail, args.current_version))
-
-            # Add tag for example link
-            outstr = 
outstr.replace('https://github.com/apache/incubator-mxnet/tree/master/example',
-                                    
'https://github.com/apache/incubator-mxnet/tree/%s/example' %
-                                    (args.current_version))
-
             with open(os.path.join(path, name), "w") as outf:
                 outf.write(outstr)

Reply via email to