Skip to content

Commit 2936456

Browse files
author
Nosheen Adil
committed
fix linux deploy
1 parent f8a85ed commit 2936456

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Makefile

+13
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,16 @@ deploy:
173173
$(VENV_ACTIVATE) $(VENV_NAME) && \
174174
pip install twine && \
175175
twine upload --repository testpypi '$(shell ls $(BUILD_PATH_BIN)/dist/isx-*.whl)'
176+
177+
ifeq ($(DETECTED_OS), linux)
178+
deploy:
179+
docker run -v $(pwd):/io quay.io/pypa/manylinux_2_34_x86_64 /bin/bash -c "cd /io && LD_LIBRARY_PATH=/io/build/Release/bin/isx/lib:$LD_LIBRARY_PATH auditwheel repair /io/build/Release/bin/dist/isx*.whl"
180+
$(VENV_ACTIVATE) $(VENV_NAME) && \
181+
pip install twine && \
182+
twine upload --repository testpypi '$(shell ls wheelhouse/isx-*.whl)'
183+
else
184+
deploy:
185+
$(VENV_ACTIVATE) $(VENV_NAME) && \
186+
pip install twine && \
187+
twine upload --repository testpypi '$(shell ls $(BUILD_PATH_BIN)/dist/isx-*.whl)'
188+
endif

0 commit comments

Comments
 (0)