How to create OS X app with Python on Windows

前端 未结 3 1770
自闭症患者
自闭症患者 2020-12-30 10:08

I need to automate a cross-platform application build. Entire build runs on Windows machine. Part of it is written in Python and compiles for OS X. Currently this part of bu

3条回答
  •  时光取名叫无心
    2020-12-30 10:29

    You can use a docker image https://github.com/sickcodes/Docker-OSX like this to simulate a mac computer.

    Then from this simulated mac you could install the pyinstaller and run your command from there.

    This would then produce the desired file.

    Some people do the same way to create windows executables using pyinstaller on linux.

    I dont see why this could not work from windows to mac.

提交回复
热议问题