Skip to content

Commit b884146

Browse files
committed
Cleaned up dist_build.sh
Signed-off-by: Boris Fomitchev <[email protected]>
1 parent 493c19f commit b884146

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

docker/dist-build.sh

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
#!/bin/bash
22

3-
mkdir -p dist
4-
5-
cd py && MAX_JOBS=1 LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 python3 setup.py bdist_wheel --use-cxx11-abi
6-
7-
cd ..
8-
9-
cp py/dist/* dist/
3+
mkdir -p dist && cd py \
4+
&& MAX_JOBS=1 LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 python3 setup.py bdist_wheel --use-cxx11-abi \
5+
&& cp -r dist/* ../dist/
106

117
pip3 install ipywidgets --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org
128
jupyter nbextension enable --py widgetsnbextension
13-
149
pip3 install timm
1510

1611
# test install
17-
mkdir -p /opt/torch_tensorrt && pip3 uninstall -y torch_tensorrt && pip3 install dist/*.whl
12+
pip3 uninstall -y torch_tensorrt && pip3 install dist/*.whl
1813

0 commit comments

Comments
 (0)