How do you compile wxPython under cygwin?

I use CYGWIN as a platform and would like to use wxPython. Is there a way to get the source code compiled and working in cygwin?

+4
source share
4 answers

I found this link to build wxPython under Cygwin . For me, this is a much better option than installing all the X11 material. I tried it with wxPython-src-2.8.12.1, and following the instructions in tee, it worked fine.

+5
source

You will need a full-fledged X work environment to make it work. It would be much easier to use Python and wxPython under regular vanilla windows. Do you have a special occasion?

+3
source

Isn't it all worth using wxPython to use WxWidgets? Isn't it all worth using THAT to have a cross-platform graphics library?

In other words, forget about X11 and just use your own wxPython for windows.

If you want to not require the user to install wxPython and its dependencies, consider writing an installer. Alternatively, investigate py2exe to “compile” python into a .exe file (plus .zip and .dll files), which is much more “installable by simply copying files”.

0
source

I tried another solution for using wxPython in cygwin:

  • I installed python27 and wxPython on Windows7
  • Exported "echo" PATH = / cygdrive / c / Python27 /: $ PATH '→ ~ / .bashrc "
  • Restart cygwin

It works. Cheer up!

I don’t know whether to add any other Path, but my program was run on Fedora and it works there.

0
source

All Articles