While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- SteamOS 3.5.18 Preview released for Steam Deck
- Team Fortress 2 64bit support released, plus Vulkan for Linux via DXVK
- Stardew Valley 1.6.4 brings even more new free content
- Phantom Fury gets Steam Deck Verified ahead of release
- Check out this casual fab farming game bundle, plus a whole bunch of Godot Engine courses
- > See more over 30 days here
-
Garry's Mod forced to remove Nintendo content after tak…
- emphy -
Garry's Mod forced to remove Nintendo content after tak…
- TruckStopSantaClaus -
Fallout 4 'Next Gen' update out now and Steam Deck Veri…
- EagleDelta -
Fallout 4 'Next Gen' update out now and Steam Deck Veri…
- EagleDelta -
Fantasy city-builder Songs of Syx is approaching the en…
- Ehvis - > See more comments
Latest Forum Posts
- Hello to all
- Hamish - Divinity Original Sin II - Definitive Edition - stopped starting …
- spiry2sick - Weekend Players' Club 4/19/2024
- StoneColdSpider - What sorta display and audio setup do you folks got?
- Arehandoro - Logitech G29 steering wheel - Snowrunner support
- silmeth - See more posts
View PC info
Say you've written a python program and you want so share it with non tech savvy people, what is the best practice?
currently I'm looking a "install python3 install pip, the do a whole bunch of pip commands to install dependencies and then just click the script file"
For C/C++ I'd just statically link any non standard dependencies and give them a single executable - it might be a bother to setup cross compilation, etc but once it's done you have a single file/archive you just give them and that requires minimal effort for the intended end user - is there something like this for python?
I realize they will most likely need to install a python interpreter for their specific OS, but it would be nice if there was some sort of "pull these dependencies if they are not available" manifest you could include so it would atleast do that part automatically
View PC info
If you want to share the script itself, it's common practice to give a requirements.txt file with it, where the user just has to run e.g.:
python -m pip install -r requirements.txt
That would install all needed dependencies that are specified in that requirements file.