1

I need to deploy my python 3 app as .exe for Windows. I'm working on linux. I have tried PyInstaller, but it seems that I have to run it from the Windows to make valid .exe. I do have access to Windows, but I would like to use it to test that my .exe is working rather than to build it.

Also is it possible to create this exe using GitLab CI?

SS_Rebelious
  • 1,274
  • 2
  • 19
  • 35

1 Answers1

0

In general, you could try to use wine in order to use windows tooling on a Linux box.

But I think this is really the wrong approach: the natural deployment option for python ... are python modules. So, instead of wasting (?) your time building one-platform-exe files ... learn how to create proper Python modules, and deploy your app using your own module.

See here for some first reading on python modules on Windows.

Community
  • 1
  • 1
GhostCat
  • 137,827
  • 25
  • 176
  • 248