mnemosyne-proj / mnemosyne

Mnemosyne: efficient learning with powerful digital flash-cards.
https://mnemosyne-proj.org/
Other
507 stars 74 forks source link

Error building wheel #282

Open kuraga opened 2 days ago

kuraga commented 2 days ago
$ git clone https://github.com/mnemosyne-proj/mnemosyne.git
<...>
$ cd mnemosyne
$ make wheel
rm -rf dist build
python3 -m build
/usr/bin/python3: No module named build
make: *** [makefile:61: wheel] Error 1

How do I fix this? Thanks!

pbienst commented 2 days ago

Wheel building is not supported, sorry...

kuraga commented 9 hours ago

@pbienst ,

See here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mnemosyne&id=e5ee1fcd9ea84572585e0c434e5a0995bbbd1222

Just add build and poetry as build dependencies.

And then:

make -C po
python -m build --wheel --no-isolation

There are installing tricks, either.

pbienst commented 6 hours ago

I not able to devote time to Mnemosyne these days, but if you care enough about this, I'm happy to accept patches.