Installation
Requirements
Python 3.10 or higher
C++ Toolchain
Currently, w9-pathfinding is distributed as source code. Because it includes C++ and Cython components, your system must be able to compile native extensions.
You will need a working C++ toolchain:
On Linux: Install the required build tools:
sudo apt install --reinstall build-essential gcc g++
On Windows: Install Microsoft Visual C++ Build Tools (MSVC), either via Visual Studio or the standalone installer.
On macOS: Install Xcode command line tools:
xcode-select --install(Note: I haven’t tested this library on macOS)
PyPI
The package is available on pypi, so you can install it with pip:
pip install w9-pathfinding
For development purposes
Alternatively, you can install it manually:
Clone the library:
git clone https://github.com/w9PcJLyb/w9-pathfinding.git
Setup virtual environment (optional but recommended)
Install Cython:
pip install cython
Build the Cython extensions:
python setup.py build_ext --inplace
Finally, install the package:
pip install -e .[dev]