Create Wheel for imars as part of github workflow
Created by: walshmm
- Build and activate the imars3d environment from conda_environment.yml
conda env create -f conda_environment.yml
activate imars3d
- Build the wheel with
python -m build --no-isolation --wheel
- 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