Skip to content

flowy-code/pyflowy

Repository files navigation

pyflowy

Python bindings for Flowy

Installation from Source

micromamba create -f environment.yml # For the first time only
micromamba activate pyflowyenv
meson setup build # To download flowy and C++ dependencies using meson wrap files
pip install .

If you have issues with xtensor-python, install it in the environment using:

micromamba install xtensor-python

Please note, that you will need to delete directories downloaded by meson if you want to pull the latest commits of the dependencies. Please do not delete the wrap file for flowy. Here's what you should do:

micromamba activate pyflowyenv
rm -rf subprojects 
git restore subprojects
meson setup build --wipe
pip install -e . --no-build-isolation