File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -224,14 +224,19 @@ jobs:
224
224
python3.9 -m pip install crossenv
225
225
python3.9 -m crossenv "/opt/python/cp39-cp39/bin/python3" --cc $TARGET_CC --cxx $TARGET_CXX --sysroot $TARGET_SYSROOT --env LIBRARY_PATH= --manylinux manylinux1 venv
226
226
. venv/bin/activate
227
- build-pip install cffi wheel "setuptools>=62.4"
227
+
228
+ build-pip install -U pip>=23.2.1 setuptools>=68.0.0 wheel>=0.41.1
229
+ cross-pip install -U pip>=23.2.1 setuptools>=68.0.0 wheel>=0.41.1
230
+ build-pip install cffi
228
231
cross-expose cffi
229
- pip install wheel build -e ../../
230
- pip install cffi
232
+ cross- pip install -e ../../
233
+
231
234
export DIST_EXTRA_CONFIG=/tmp/build-opts.cfg
232
235
echo -e "[bdist_wheel]\npy_limited_api=cp37" > $DIST_EXTRA_CONFIG
233
- python -m build --no-isolation
236
+
237
+ cross-pip wheel --no-build-isolation --wheel-dir dist .
234
238
ls -la dist/
239
+ unzip -l dist/*.whl # debug all files inside wheel file
235
240
' > build-wheels.sh
236
241
237
242
docker run --rm -v "$PWD":/io -w /io messense/manylinux2014-cross:${{ matrix.platform.arch }} bash build-wheels.sh
You can’t perform that action at this time.
0 commit comments