py2exe windows service problem

后端 未结 2 1025
名媛妹妹
名媛妹妹 2021-02-04 18:49

I have successfully converted my python project to a service. When using the usual options of install and start/stop, everything works correctly. However, I wish to compile th

相关标签:
2条回答
  • 2021-02-04 19:36

    You will find an example in the py2exe package, look in site-packages\py2exe\samples\advanced.

    0 讨论(0)
  • 2021-02-04 19:43

    You setup.py file should contain

    setup(service=["webserver.py"])
    

    as shown in the "old" py2exe docs

    0 讨论(0)
提交回复
热议问题