I was trying to compile the Klipper MCU code and hit a hurdle and was wondering what the intention here is: As I understand it, the code is supposed to be compiled in /usr/lib/klipper (as in cd /usr/lib/klipper; make menuconfig; make). I the issue I've hit is that the build process requires running scripts which are located /usr/share/klipper/scripts, but the Makefile expects the scripts to be in /usr/lib/klipper/scripts. Am I supposed to manually copy the scripts there?
Also, the Makefile includes the following line:
PYTHON=python2
I guess it's pretty easy to overwrite by running make PYTHON=python, you decide whether it's worth patching. Just letting you know in case you haven't stumbled upon this until now.
Pinned Comments
dack commented on 2023-03-21 07:13 (UTC)
I have updated this package to use python 3. If you are currently using klipper-py3-git, please switch to using this package instead. It's now fully up to date. All future updates will go here and I will be removing klipper-py3-git at some point.