klattimer/LGWebOSRemote

Bundle as standalone executable?

Opened this issue · 1 comments

cmer commented

Hello friends, I am the author of https://github.com/cmer/lg-tv-control-macos, which uses LGWebOSRemote under the hood.

Many people using my Hammerspoon script run into issues installing LGWebOSRemote on their Mac (dependency issues, for example) and I was wondering if it could easily be bundled into a standalone package/executable?

I'm not familiar with the Python ecosystem, but found Pyinstaller and Nuitka. I gave it a very quick shot but wasn't able to successfully bundle up LGWebOSRemote.

So my questions are:

  • Are there any viable options to ship a single executable on MacOS (x86/arm64), not requiring the Python interpreter on the target machine?
  • Is the an appetite on your part to start shipping such an executable?

Thanks!

Getting it published with twine is a higher priority. I'm always willing to accept PRs though.