This project contains a C++ library with a Python wrapper for reading IM7 and VC7 files.
This document explains the steps to install the project and run the test suite locally.
- Python 3.7 or higher
- Git (to clone the project or install with
pip install -e) - A virtual environment (
venv) is recommended
cd .\ReadIM
python -m venv venv
venv\Scripts\activatecd ~/ReadIM
python3 -m venv venv
source venv/bin/activateEnsure your requirements.txt file contains at least:
numpy==2.2.4
pytest==8.3.5Then, install dependencies:
pip install -r requirements.txtThis allows Python to recognize the local ReadIM/ module:
pip install -e .pytestFor more detailed output:
pytest -vdeactivate- Run tests from the root of the project (where
setup.pyis located). - If you see
ModuleNotFoundError: No module named 'ReadIM', make sure you've runpip install -e ..