pyodide setup.py - ensure we have correct pyodide_2025_0_wasm32 suffix

Adding extension, but avoiding adding sources as we're not actually building.
As a result build will have a correct suffix `pyodide_2025_0_wasm32.whl` that's pyodide is currently using and this is pyodide is plan to use when it's going to release to PyPI, see https://peps.python.org/pep-0783/
This commit is contained in:
Andrej730
2025-10-17 16:15:06 +05:00
parent 6345b052da
commit b1fb541912
2 changed files with 22 additions and 10 deletions
+3 -1
View File
@@ -40,7 +40,9 @@ jobs:
chmod +x script.sh
sed -i s/--tty// pyodide/run_docker
pyodide/run_docker ./script.sh
mv dist/ifcopenshell-$VERSION-py3-none-any.whl dist/ifcopenshell-$VERSION+${GITHUB_SHA:0:7}-cp313-cp313-emscripten_4_0_9_wasm32.whl
FILE=`echo dist/ifcopenshell-*.whl`
NEW_FILE=`echo $FILE | sed "s/$VERSION/$VERSION+${GITHUB_SHA:0:7}/"`
mv $FILE $NEW_FILE
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4