This is an in-progress port of nmag that updates old dependencies and packages nmag as a standalone python 3 module.
- Create a virtual environment:
python -m venv venv - Activate the virtual environment:
- On Windows:
venv\Scripts\activate - On macOS/Linux:
source venv/bin/activate
- On Windows:
- To initialize the project and install dependencies:
pip install -e .
- To install the optional test dependencies run
pip install -e ".[test]" - Once the project has been initialized simply run
pytestto run your tests - To view coverage open
htmlcov/index.htmlin your browser - Specifying what tests to run