Hi!
In setup.py, on line 249:
if 'arch' not in platform.platform():
This does not work on many Arch installations. The kernel version reported by platform.platform() is really independent of the distribution.
On my system:
>>> platform.platform()
'Linux-6.6.9-zen1-1-zen-x86_64-with-glibc2.38'
Also see discussion in AUR.
Cheers!