Instructions for Developers
How to install mip_dmp locally
Important
mip_dmp requires a Python environment with python>=3.9.
Clone the original or your fork repository of
mip_dmpand go to the clone directory:cd /path/to/directory/where/you/want/to/clone/mip_dmp git clone https://github.com/HBPMedical/mip-dmp cd mip-dmp
Install
mip_dmpalong with all dependencies:# Install main package dependencies pip install -r requirements.txt # Install dependencies for development, including dependencies # to lint/format the code and to test the package pip install -r requirements-dev.txt # Install dependencies to build the documentation pip install -r docs/requirements.txt # Install mip_dmp in editable mode pip install -e .
How to build the documentation locally
Install
mip_dmpand its dependencies (see How to install mip_dmp locally).Go to the
docsof the cloned repository and build the HTML documentation withmake:cd docs make clean && make html
The built HTML files of the documentation, including its main page (
index.html), can be found in thedocs/build/htmldirectory, and can be opened in your favorite browser.