Installation¶
Setup development environment¶
Requirements¶
Python: download (at least version 2.7.14, prefferable 3.6 or greater)
Pip: installation docs
- Make
Windows: download [MinGW Installation Guide - Windows]
Mac: download
Linux: download
pipenv: docs (run
pip install pipenv
command)Pandoc: installation docs * optional
Graphviz: download * optional
To confirm these system dependencies are configured correctly:
make doctor
Installation of development dependencies¶
List of NiaPy’s dependencies:
Package |
Version |
Platform |
---|---|---|
numpy |
>=1.16.2 |
All |
scipy |
>=1.1.1 |
All |
pandas |
>=0.24.2 |
All |
matplotlib |
>=2.2.4 |
All |
openpyxl |
==3.0.3 |
All |
xlwt |
==1.3.0 |
All |
enum34 |
>=1.1.6 |
All: python < 3.4 |
future |
>=0.18.2 |
All: python < 3 |
Install project dependencies into a virtual environment:
make install
Run tests with:
make test
To enter created virtual environment with all installed development dependencies run:
pipenv shell