How do I deploy a Python desktop application?

前端 未结 5 1588
粉色の甜心
粉色の甜心 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:49

    I have been using py2exe with good success on Windows. The code needs to be modified a bit so that the code analysis picks up all modules needed, but apart from that, it works.

    As for Linux, there are several important distribution formats:

    • DEB (Debian, Ubuntu and other derivatives)
    • RPM (RedHat, Fedora, openSuSE)

    DEBs aren't particularly difficult to make, especially when you're already using distutils/setuptools. Some hints are given in the policy document, examples for packaging Python applications can be found in the repository.

    I don't have any experience with RPM, but I'm sure there are enough examples to be found.

提交回复
热议问题