OMSimulator
OMSimulator copied to clipboard
Recover changes to build PyPI package
This recoveres some changes to create a PyPI package for OMSimulator, but I'm uncertain about the current state of the changes. I would appreciate insights from @mahge on the best approach before proceeding further.
To generate the PyPI package, follow these steps:
-
Build the project using the
OM_OMS_ENABLE_PIP
option in CMake:cmake -S . -B build/ -DCMAKE_INSTALL_PREFIX=install/ -DOM_OMS_ENABLE_PIP=ON cmake --build build/ --target install
-
Run the Makefile:
make pip
-
Upload the package using twine:
twine upload src/pip/install/dist/OMSimulator-2.1.1.post248.tar.gz