git clone https://github.com/jdegenstein/ocp-addons.git
cd ocp-addons
mamba env create -f env.yml
mamba activate ocp-addons
-
Linux (x86_64)
sudo apt-get update sudo apt-get install freetype* libfreetype6-dev libgl1-mesa-glx mamba install -c conda-forge gxx_linux-64=12 pip install auditwheel patchelf
-
Linux (aarch64)
sudo apt-get update sudo apt-get install freetype* libfreetype6-dev libgl1-mesa-glx mamba install -c conda-forge gxx_linux-aarch64=12 pip install auditwheel patchelf
-
MacOS (Apple Silicon)
brew install automake pip install delocate
-
Windows (Intel)
mamba install vs2019_win-64 pip install delvewheel
python -m build -n
-
Linux (x86_64)
auditwheel repair --plat manylinux_2_35_x86_64 dist/ocp_addons-*.whl
-
Linux (aarch64)
auditwheel repair --plat manylinux_2_35_aarch64 dist/ocp_addons-*.whl
-
MacOS (Apple Silicon)
DYLD_LIBRARY_PATH=$CONDA_PREFIX/lib python -m delocate.cmd.delocate_wheel \ --wheel-dir=wheelhouse dist/ocp_addons-*_arm64.whl
-
Windows (Intel)
python -m delvewheel repair --wheel-dir=wheelhouse dist\ocp_addons-0.1.0-cp311-cp311-win_amd64.whl
cd ..
python test.py