Hi,
The packaging also fail to include compile file and version file resulting in FIRMWARE_VERSION: ? in the log
I applied this change to fix this:
+ python2 scripts/make_version.py ARCHLINUX > klippy/.version
+ python2 -m compileall klippy
+ python2 klippy/chelper/__init__.py
GLOBIGNORE=.git cp -r * "$pkgdir/opt/klipper"
- chown -R klipper:klipper "$pkgdir/opt/klipper"
This way the package contains precompiled files and starts faster.
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.