Closed alanisaac closed 7 months ago
Please place the wheel file in heat-stack/public
so that it is hosted.
CI for build has been added in #90, but since no CD yet, will have to manually deploy to location above. Add wheel file to Git LFS.
Steps to build the wheel
Check that you are on the same version of Python that we want to run in pyodide
with:
python --version
Then build the wheel:
cd rules-engine
pip install -q build
python -m build
The wheel should output at:
rules-engine\dist\rules_engine-0.0.1-py3-none-any.whl
@thadk Is this still needed, or does the new build pipeline create the wheel automatically?
I don't think so, we can build it as a deployment step on the frontend. We should just keep an eye on that vitest test I made (once it gets merged) whenever y'all add any sub-dependencies to the rules-engine package—it should still pass.
The front end did some testing and needs a wheel if we want to split into multiple files. Build a wheel!