Skip to content

Create Wheel for imars as part of github workflow

Zhang, Chen requested to merge imars3d258_python_wheel into next

Created by: walshmm

  1. Build and activate the imars3d environment from conda_environment.yml
conda env create -f conda_environment.yml
activate imars3d
  1. Build the wheel with
python -m build --no-isolation --wheel
  1. Test the wheel
check-wheel-contents .
# manually check the correct contents were packaged
unzip -l dist/imars3d*.whl
# install the wheel and test if you can import imars3d._version.__version__
python3 -m pip install dist/imars3d-*.whl
python3 -c "import imars3d as version; print(version._version.__version__)"

This should result in the imars version being printed correctly

Merge request reports