Second-year project for Scuola Ortogonale.
First, create a Python virtual environment:
python -m venv venv
source venv/bin/activateThen, install the required dependencies:
pip install -r requirements.txtAfter setting up Python, configure the C++ project (make sure the virtual environment is active):
cmake -S . -B appBuild the project:
cmake --build app -j <jobs_number>At this point, everything should be ready. You can verify the installation by running:
python app/algorithm.pyhttps://nanobind.readthedocs.io/en/latest/basics.html https://nanobind.readthedocs.io/en/latest/exchanging.html