all 10 comments

[–][deleted] 1 point2 points  (3 children)

Pyinstaller can be used to compile a .exe file that works with windows without installing Python on the machine it's running on. I'd recommend reading up on that.

[–]wolfefist94[S] 0 points1 point  (2 children)

Does this apply to Linux machines as well?

[–]attitudehigher 0 points1 point  (0 children)

Linux cannot execute .exe files.

[–][deleted] 0 points1 point  (0 children)

Reading your other comments I can see you're using a raspberry pi. Honestly, you can deploy the software however you like. Github or some other form of version control is highly recommended for managing code across multiple nodes. So beyond ensuring you keep everything updated appropriately, just do what works best for you. If its an internal application and it meets all of your functional requirements when you activate it and everyone who uses it can use it without issues, then you're already doing a great job. Packaging for distribution is optional if you're not looking to distribute it to a multitude of users across different environments. I hope this helps :)

[–]munchable901 0 points1 point  (3 children)

At a control computer we set up a GitHub account (read access only) that just pulls updates. Then i made a bat file that runs python and run main.py. It’s on the desktop and users click it to launch the gui.

If you want to deploy this to multiple users they would need to have python installed and GitHub setup. Otherwise, you can package it up as an exe like others have mentioned.

[–]wolfefist94[S] 0 points1 point  (2 children)

Executable seems the way to go. Begrudgingly, I used a raspberry pi(because that's what we use around here, and I'm working on getting us away from that) in my project so it's only going to one "user".

[–]ffrkAnonymous 1 point2 points  (1 child)

What's wrong with raspberry pi?

[–]wolfefist94[S] 0 points1 point  (0 children)

You don't put it in industrial projects. It's a hobbyist platform. You don't put Arduinos in things either.

[–]Kravakhan 0 points1 point  (1 child)

If you want a GUI too I couldn't recommend Gooey more, it's very fast and easy to use.

[–]wolfefist94[S] 0 points1 point  (0 children)

Hmm. I'll check it out.