Install

Using pip

It’s safe to install the package globally, alternatively it also works in virtual envs.

pip install map2

AUR (Arch user Repository)

Useful for people running Arch Linux, Manjaro, etc.

pacman -S python-map2

Building from source

If you want to build the source code yourself, make sure you have rust and cargo installed and clone the repository.

# clone the repository
git clone https://github.com/shiro/map2.git
cd map2

# setup the environemnt
python -m venv .env
source .env/bin/activate
pip install maturin patchelf

# run build
maturin develop

Next steps

To get started, check out the Getting started page for a basic guide on writing and running map2 scripts.