

1·
10 hours agoHappy to help! Let me know if you run into any problems and I’ll see if I can debug
Happy to help! Let me know if you run into any problems and I’ll see if I can debug
It allows users to run the script on any installation of Python no matter where it’s located, as well as allowing a user to set up specific Python package versions separate from the system-native ones.
Basically for flexibility and easy setup
Try a venv or miniconda and use the universal shebang:
#!/usr/bin/env python
Edit: you’ve activated my brain shrimp, so I’ll be back with an interactive setup script in a bit
Edit2:
Sorry I know it’s GitHub but codeberg doesn’t support gists yet and I can’t fully test this by myself. Seems to work fine on Linux mint. I’ll do some testing on Windows later
https://gist.github.com/pyr0ball/c6a608fbdd401903f1ff6faf14a065ce
Honestly I’m planning on using it on my legit games for my headless streaming server, which is what got me interested in building that auto install script.
I’ve got a little library of similar installation scripts I’ve built over the years so it was just a matter of modifying it to meet this scripts’ requirements