Skip to content

Commit

Permalink
BLD: Fix missing auditwheel for linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanSkocic committed Dec 23, 2023
1 parent 434c056 commit b6f8b0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ pywrapper/pycodata/*.dll
pywrapper/pycodata/*.dll.a
pywrapper/pycodata/*.so
pywrapper/pycodata/*.dylib
pywrapper/pycodata/*.pyd
pywrapper/pycodata/*.pyd
pywrapper/wheelhouse/
5 changes: 4 additions & 1 deletion pywrapper/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ifeq ($(plat), )
plat=linux
PY=python
AW=auditwheel repair --plat manylinux_2_17_x86_64 ./dist/*.whl
endif
ifeq ($(plat), windows)
plat=linux
Expand All @@ -9,13 +10,14 @@ endif
ifeq ($(plat), linux)
plat=linux
PY=python
AW=auditwheel repair --plat manylinux_2_17_x86_64 ./dist/*.whl
endif
ifeq ($(plat), darwin)
plat=darwin
PY=python
endif

DIRS=build dist *.egg-info __pycache__
DIRS=build dist *.egg-info __pycache__ wheelhouse
SETUP=setup.py pyproject.toml

all: python3.8 python3.9 python3.10 python3.11 python3.12
Expand All @@ -26,6 +28,7 @@ python3.12: $(SETUP)
$(PY)3.12 -m build --no-isolation --sdist
$(PY)3.12 -m build --no-isolation --wheel
$(PY)3.12 -m unittest -v
$(AW)
@echo "#################################"

python3.11: $(SETUP)
Expand Down

0 comments on commit b6f8b0d

Please sign in to comment.