Skip to content

Commit ea40dd1

Browse files
try to fix license files not be accepting by twine
1 parent c1c2114 commit ea40dd1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,14 @@ jobs:
8181
pip3 install --upgrade "cffi>=1.17.1"
8282
pip3 install --upgrade wheel
8383
pip3 install --upgrade setuptools
84-
python setup.py bdist_wheel --plat-name macosx_10_13_x86_64
84+
python -m pip install --upgrade build
85+
python -m pip install --upgrade auditwheel
86+
python -m build --wheel
87+
python -m auditwheel repair dist/*.whl
8588
8689
- name: Test
8790
run: |
88-
pip3 install dist/*.whl
91+
pip3 install wheelhouse/*.whl
8992
cd /
9093
python3 -c 'import pyray; pyray.init_window(100,100,"test")' >/tmp/output 2>&1 || true
9194
cat /tmp/output
@@ -101,7 +104,7 @@ jobs:
101104
uses: actions/upload-artifact@v4
102105
with:
103106
name: wheel-mac-${{ matrix.raylib-platform }}-${{ matrix.python-version }}
104-
path: dist/*
107+
path: wheelhouse/*
105108

106109

107110

@@ -157,6 +160,7 @@ jobs:
157160
${{ matrix.python-version }} -m pip install --upgrade setuptools
158161
${{ matrix.python-version }} -m pip install --upgrade build
159162
${{ matrix.python-version }} -m pip install --upgrade auditwheel
163+
${{ matrix.python-version }} -m pip install --upgrade patchelf
160164
${{ matrix.python-version }} -m build --wheel
161165
${{ matrix.python-version }} -m auditwheel repair dist/*.whl
162166
shell: bash

0 commit comments

Comments
 (0)