On Saturday, March 9, 2024 at 1:42:01 PM UTC+1 [email protected] wrote:



As I proposed in an earlier message, reading the documentation would be 
a good start: 

https://mesonbuild.com/meson-python/how-to-guides/editable-installs.html#build-dependencies
 

The solution is to install ninja on your system, or in the Python 
virtual environment: 

apt-get install ninja-build 

or 

python -m pip install ninja 


Dan,

thanks for pointing to the documentation. The solution at the end was to 
use pip install with the *-no-build-isolation* option

So, like that 

===============

git clone https://github.com/beancount/beancount.git

python3.12 -m venv beancount/venv

. beancount/venv/bin/activate

cd beancount

python -m pip install meson-python meson ninja

python -m pip install --no-build-isolation --editable .

python -m pip install pytest

pytest --import-mode=importlib beancount/
===================

 

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/924f055f-8620-4cad-8ff9-b66147a67acfn%40googlegroups.com.

Reply via email to