Re: Providing wxGlade executable
Dietmar Schwertberger <[email protected]>
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Message-ID | <[email protected]> |
Hi Igor! On 08.12.2018 00:00, Igor Korot wrote: > Would it be possible to generate Windows executable and make it available > to download for wxGlade? > > The project I'm working on needs an upgrade from 2.8 to 3.0 and I'd > like to regenerate couple of forms. > > Problem is - the code is written in C++ and it is hard to get an > approval even to install Phoenix/python. Personally, I will not work on installers or executables. Are you aware that it is not necessary to "install" Python? If you install Python on one PC and copy the directory with the installation to another PC you can just execute the python.exe with a script file name as argument. It might be necessary to place some DLLs in the same directory (e.g. vcruntime140.dll). IIRC Pythonwin was a bit critical. I have been doing this for more than 15 years. The "portable" installation can be run from the network or from a local drive. Depending on the requirements, I have a script that installs some registry keys or I just have a .bat file that calls the Python interpreter with the .py file as argument. (Honestly, coming from a RISC OS background, I never understood why people want to have installers...) I think there are also portable installations for download. If your company policy is not to run installers for file types, you should be able to solve your problem this way. If your company policy forbids to run .exe files, then you can't solve your problem... Regards, Dietmar