I'm trying to follow the instructions in development.md, but I'm running into fatal errors. When I run scripts/setup.sh local-install, here is the output I get (from the 2.1.1 tag):
input-remapper on ๎ jrw [$] via ๐ v3.13.7 (venv)
โฏ scripts/setup.sh local-install
using input-remapper sources in '/home/jrw/git/input-remapper'
disabling service
install: running in virtual env '/home/jrw/git/input-remapper/venv'
install: temporarily ingesting site-packages path '/home/jrw/git/input-remapper/venv/lib/python3.13/site-packages' into binaries
inject import path '/home/jrw/git/input-remapper/venv/lib/python3.13/site-packages' in bin file sources
injection result:
/home/jrw/git/input-remapper/bin/input-remapper-control:import sys; sys.path.append("/home/jrw/git/input-remapper/venv/lib/python3.13/site-packages")
injection finished
install: using local python3
install: installing using 'python3'
running install
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
generating translation for it
error: [Errno 2] No such file or directory: 'msgfmt'
chown: cannot access 'build': No such file or directory
chown: cannot access '/home/jrw/git/input-remapper/build/files.txt': No such file or directory
install: writing list of install dirs to 'build/dirs.txt'
scripts/setup.sh: line 41: /home/jrw/git/input-remapper/build/dirs.txt: No such file or directory
grep: /home/jrw/git/input-remapper/build/files.txt: No such file or directory
install: removing temporary site-packages path from binaries
remove extra import path in bin file sources
injection result:
/home/jrw/git/input-remapper/bin/input-remapper-control:import sys
injection finished
starting service
Failed to enable unit: Unit input-remapper.service does not exist
Failed to restart input-remapper.service: Unit input-remapper.service not found.
Connected to the service
Autoloading all
Done
Unit input-remapper.service could not be found.
I also get loads of errors from pylint and mypy, which I suspect may be related. Can you offer any help with what I'm doing wrong?
I'm trying to follow the instructions in
development.md, but I'm running into fatal errors. When I runscripts/setup.sh local-install, here is the output I get (from the 2.1.1 tag):I also get loads of errors from pylint and mypy, which I suspect may be related. Can you offer any help with what I'm doing wrong?