Skip to content

Commit 1c9ea4d

Browse files
authored
Update howToUploadToPyPi.org.md
1 parent 20db1a6 commit 1c9ea4d

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

docs/howToUploadToPyPi.org.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,18 @@ This will install
4343
Steps to build Python Dist Wheel on CentOS with manylinux
4444
===================================================
4545
```
46-
docker pull quay.io/pypa/manylinux2014_x86_64
47-
sudo docker run -it quay.io/pypa/manylinux2014_x86_64 /bin/bash
48-
49-
cd /
50-
51-
yum group install "Development Tools"
52-
yum remove swig
53-
yum install python36 python36-devel swig3
46+
pip install https://github.com/pypa/manylinux
47+
cd manylinux
48+
PLATFORM=$(uname -m) TRAVIS_COMMIT=latest ./build.sh
49+
50+
yum install wget
51+
wget https://downloads.sourceforge.net/swig/swig-3.0.12.tar.gz
52+
tar xvfz swig-3.0.12.tar.gz
53+
cd swig-3.0.12
54+
./configure --prefix=/usr --without-clisp --without-maximum-compile-warnings --without-pcre && make && make install
5455
pip3 install numpy onnx==1.5.0 wheel twine
5556
56-
57-
git clone https://github.com/ai-techsystems/dnnCompiler.git
58-
cd dnnCompiler
59-
make CC=g++
6057
python3 setup.py bdist_wheel
58+
auditwheel repair dist/deepC*whl
59+
python3 -m twine upload wheelhouse/deepC*whl
6160
```

0 commit comments

Comments
 (0)