[-] pyr0ball@lemmy.dbzer0.com 1 points 4 days ago

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

[-] pyr0ball@lemmy.dbzer0.com 2 points 4 days ago* (last edited 4 days ago)

Happy to help! Let me know if you run into any problems and I'll see if I can debug

[-] pyr0ball@lemmy.dbzer0.com 9 points 4 days ago

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

[-] pyr0ball@lemmy.dbzer0.com 11 points 4 days ago* (last edited 4 days ago)

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

pyr0ball

joined 2 months ago