From a42a49e088f6e1f299497a23f0c943b5d53a98e6 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Tue, 7 Jan 2025 20:46:31 +0100 Subject: [PATCH] wasm wheel fixes --- .github/workflows/build_pyodide.yml | 2 +- pyodide/setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_pyodide.yml b/.github/workflows/build_pyodide.yml index 69c2e410a2..79c958fff5 100644 --- a/.github/workflows/build_pyodide.yml +++ b/.github/workflows/build_pyodide.yml @@ -39,7 +39,7 @@ jobs: chmod +x script.sh sed -i s/--tty// pyodide/run_docker pyodide/run_docker ./script.sh - mv dist/IfcOpenShell-0.8.0-py3-none-any.whl dist/ifcopenshell_python-v0.8.0+${GITHUB_SHA:0:7}-cp312-cp312-emscripten_3_1_58_wasm32.whl + mv dist/ifcopenshell-$VERSION-py3-none-any.whl dist/ifcopenshell-v$VERSION+${GITHUB_SHA:0:7}-cp312-cp312-emscripten_3_1_58_wasm32.whl - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 diff --git a/pyodide/setup.py b/pyodide/setup.py index 6f1cd419e5..15237e6606 100644 --- a/pyodide/setup.py +++ b/pyodide/setup.py @@ -1,11 +1,11 @@ from setuptools import setup, find_packages -setup(name='ifcopenshell-python', +setup(name='ifcopenshell', version='0.8.0', description='IfcOpenShell is an open source (LGPL) software library for working with the Industry Foundation Classes (IFC) file format.', author='Thomas Krijnen', author_email='thomas@aecgeeks.com', url='http://ifcopenshell.org', packages=find_packages(), - package_data={'': ['*.so']}, + package_data={'': ['*.so', '*.json']}, )