mholgatem / GPIOnext

The next evolution of GPioneer! Create virtual gamepads with your GPIO pins!
MIT License
134 stars 37 forks source link

install.sh can't run without internet #74

Closed elaxius closed 1 year ago

elaxius commented 1 year ago

Currently the installer requires the internet to install various packages. Is it possible to provide it as part of the git folder itself so that i can install it on raspberry pi 0 (without W)

fedekrum commented 1 year ago

I understand your problem, but I think the reason for this is that gpionext has to be installed from internet too and that doing so (to include the packages), will imply the author to be maintaining this package itself if some other package is updated. In the install.sh script, you can see which packages are necessary.

sudo apt-get -y install python3 python3-pip python3-dev gcc
sudo apt-get -y install sqlite3 joystick
sudo apt-get install python3-rpi.gpio
sudo pip3 install evdev

Manually install those packages first, and then erase those lines from install.sh before you run the installer.

mholgatem commented 1 year ago

sorry @elaxius, that's outside of the scope of this project. As @fedekrum pointed out, you can download the packages and remove them from the installer on a one off basis.