vrc-osc-scripts icon indicating copy to clipboard operation
vrc-osc-scripts copied to clipboard

Consider writing a setup script and get py2exe working

Open cyberkitsune opened this issue 2 years ago • 7 comments

Compiling out an actual exe for both VRCSubs and VRCNowPlaying may be nice, making it so people won't have to install python / click the add to PATH checkbox.

cyberkitsune avatar Aug 31 '22 19:08 cyberkitsune

Why not PyInstaller? It's much easier to implement in my opinion

senkodev avatar Sep 03 '22 15:09 senkodev

I've used cx_Freeze to make python executables about 5 years ago, Not sure if it's still good for it, but it makes pretty neatly packaged executables and is not too hard to setup.

MaxFerney avatar Sep 18 '22 15:09 MaxFerney

To be honest it is a good idea but at the same time people have been very against using """random""" .exe (after all Discord scams)

So it might be hard at first to convince people that it is safe, since said scams were also python codes... and people are judgy with python, sadly

KuryKat avatar Mar 22 '23 03:03 KuryKat

To be honest it is a good idea but at the same time people have been very against using """random""" .exe (after all Discord scams)

Yeah this has been one of the main blockers to this, doubly so when a lot of malicious software does get wrapped with stuff like py2exe and trips up antivirus stuff all the time.

I'm still considering it though, as python installation issues are 90% of the support requests I get. I may not move to this until I can sign exes though...

cyberkitsune avatar Mar 22 '23 03:03 cyberkitsune

Here's another potential solution, i thought I'd weigh in with, bundle the repository with the start.bat's and have those instead of launching python from path, launch from a virtual env skipping all the downloading and also preventing things from breaking when a package updates, I'm on my phone and can't test if this would work but i see no reason why it wouldn't because virtual envs or at least everyone I've created all have their own bundled python binaries, and any Linux users almost certainly know how to install a requirements.py if we just leave it there

ProfessionalNincompoop avatar Mar 25 '23 03:03 ProfessionalNincompoop

So after much pain and research, ive discovered 2 things I hate git and it does everything in its power to make uploading a venv hell and venvs do not work across computers. Yes I made sure it wasn't in git ignore

ProfessionalNincompoop avatar Mar 28 '23 02:03 ProfessionalNincompoop

Yeah I don't think shipping a venv would be wise, they're not quite designed for distribution. I think some python to executable wrapper will be the best way to go about this. I'll mess around and evaluate a few of them and see what works best ^^

cyberkitsune avatar Mar 28 '23 05:03 cyberkitsune