From 1c9ea4db4c9a2ae81c6155bfd5a1484942019c31 Mon Sep 17 00:00:00 2001 From: Rohit Sharma Date: Mon, 18 Nov 2019 20:08:36 -0800 Subject: [PATCH] Update howToUploadToPyPi.org.md --- docs/howToUploadToPyPi.org.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/docs/howToUploadToPyPi.org.md b/docs/howToUploadToPyPi.org.md index 7da7a48f..5d52f047 100644 --- a/docs/howToUploadToPyPi.org.md +++ b/docs/howToUploadToPyPi.org.md @@ -43,19 +43,18 @@ This will install Steps to build Python Dist Wheel on CentOS with manylinux =================================================== ``` -docker pull quay.io/pypa/manylinux2014_x86_64 -sudo docker run -it quay.io/pypa/manylinux2014_x86_64 /bin/bash - -cd / - -yum group install "Development Tools" -yum remove swig -yum install python36 python36-devel swig3 +pip install https://github.com/pypa/manylinux +cd manylinux +PLATFORM=$(uname -m) TRAVIS_COMMIT=latest ./build.sh + +yum install wget +wget https://downloads.sourceforge.net/swig/swig-3.0.12.tar.gz +tar xvfz swig-3.0.12.tar.gz +cd swig-3.0.12 +./configure --prefix=/usr --without-clisp --without-maximum-compile-warnings --without-pcre && make && make install pip3 install numpy onnx==1.5.0 wheel twine - -git clone https://github.com/ai-techsystems/dnnCompiler.git -cd dnnCompiler -make CC=g++ python3 setup.py bdist_wheel +auditwheel repair dist/deepC*whl +python3 -m twine upload wheelhouse/deepC*whl ```