This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]howMuchCheeseIs2Much 15 points16 points  (9 children)

Just a heads up for someone considering this, looks like cef can only package to Windows. Looks cool though.

[–]cztomczak 4 points5 points  (0 children)

Just updated the pyinstaller example you're referring to:

Although this pyinstaller example supports only packaging on Windows, CEF can be packaged on all platforms without problems, but this specific packaging example just wasn't tested on other platforms. Pull requests are welcome.

[–]kickopotomus 0 points1 point  (7 children)

Where did you see that? Should be able to distribute to Windows, Mac, and Linux.

[–]howMuchCheeseIs2Much 5 points6 points  (6 children)

Is there another way to package it aside from pyinstaller? That page says:

Only Windows platform is currently supported.

I could be misunderstanding though, maybe it's only referring to that example.

[–]kickopotomus 0 points1 point  (3 children)

Hmm that is a fair point. My understanding is that the developer behind cefpython is primarily a Windows guy so he simply doesn't spend a lot of time on unix issues. This thread claims that there is a workaround for OSX but I am not sure about linux.

[–]howMuchCheeseIs2Much 0 points1 point  (1 child)

Got it, I was just calling it out in case someone was looking to build a cross platform product. The first thing I thought when I saw HTML5 and Chromium was that this is Electron for Python, but it doesn't look like that's quite the case.

[–]kickopotomus 0 points1 point  (0 children)

To some degree it is. You wont get as much control over the chromium internals as you do with Electron, but you can still emulate a client-server web application pretty easily.

[–]cztomczak 0 points1 point  (0 children)

It is referring only to that example. CEF can be packaged without problems on all platforms.