pyr0ball

joined 2 months ago
[–] [email protected] 1 points 5 hours 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

[–] [email protected] 1 points 5 hours ago* (last edited 5 hours ago)

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

[–] [email protected] 7 points 14 hours 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

[–] [email protected] 10 points 17 hours ago* (last edited 15 hours ago) (4 children)

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