Development#

Please contribute on github.

Local install#

Need local rust stable toolchain and python-virtualenv.

Clone this repo.

Create python virtual environment.

virtualenv .ve
source .ve/bin/activate

Install maturin (the build tool for building rust extensions)

pip install maturin

Test local build.

maturin develop --release 

Builds#

Build anylinux wheels for all pythons 3.6+ and source distribution.

Run this once

sudo docker build -t flatterer-anylinux .

To build

sudo docker run  -v $(pwd):/io flatterer-anylinux build --release

Logging#

Set enviroment variable FLATTERER_LOG to trace to get full debug output.