How do I deploy a Python desktop application?

前端 未结 5 1592
粉色の甜心
粉色の甜心 2021-01-30 03:40

I have started on a personal python application that runs on the desktop. I am using wxPython as a GUI toolkit. Should there be a demand for this type of application, I would po

5条回答
  •  无人共我
    2021-01-30 03:52

    Wow, there are a lot of questions in there:

    • It is possible to run the bytecode (.pyc) file directly from the Python interpreter, but I haven't seen any bytecode obfuscation tools available.

    • I'm not aware of any "all in one" deployment solution, but:

      • For Windows you could use NSIS(http://nsis.sourceforge.net/Main_Page). The problem here is that while OSX/*nix comes with python, Windows doesn't. If you're not willing to build a binary with py2exe, I'm not sure what the licensing issues would be surrounding distribution of the Python runtime environment (not to mention the technical ones).

      • You could package up the OS X distribution using the "bundle" format, and *NIX has it's own conventions for installing software-- typically a "make install" script.

    Hope that was helpful.

提交回复
热议问题