Skip to content

Commit

Permalink
Update howToUploadToPyPi.org.md
Browse files Browse the repository at this point in the history
  • Loading branch information
srohit0 authored Nov 19, 2019
1 parent 20db1a6 commit 1c9ea4d
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions docs/howToUploadToPyPi.org.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 1c9ea4d

Please sign in to comment.