Change install prefix to /usr/local because setup.py should install the package code into standard location (/usr/local/lib/pythonX.Y/site-packages), not {INSTALL_LOCATION}/lib/pythonX.Y/site-packages. Otherwise we will get errors about "package not found" when running binwalk
Remove LAUNCHER config since the executable will be properly placed at /usr/local/bin/binwalk according to the new install prefix
python3
instead ofpython
according to binwalk documentation/usr/local
becausesetup.py
should install the package code into standard location (/usr/local/lib/pythonX.Y/site-packages
), not{INSTALL_LOCATION}/lib/pythonX.Y/site-packages
. Otherwise we will get errors about "package not found" when runningbinwalk
/usr/local/bin/binwalk
according to the new install prefix