()
| 383 | |
| 384 | |
| 385 | def get_libraries(): |
| 386 | print("[cython_setup.py] Prepare libraries") |
| 387 | libraries = list() |
| 388 | if WINDOWS: |
| 389 | libraries.extend([ |
| 390 | "libcef", |
| 391 | "libcef_dll_wrapper_MD", |
| 392 | "User32", |
| 393 | "cefpython_app", |
| 394 | "cpp_utils", |
| 395 | "client_handler", |
| 396 | ]) |
| 397 | elif MAC: |
| 398 | libraries.extend([ |
| 399 | "c++", |
| 400 | "c++abi", |
| 401 | "cef_dll_wrapper", |
| 402 | "cefpythonapp", |
| 403 | "client_handler", |
| 404 | "cpp_utils", |
| 405 | ]) |
| 406 | elif LINUX: |
| 407 | libraries.extend([ |
| 408 | "X11", |
| 409 | "gobject-2.0", |
| 410 | "glib-2.0", |
| 411 | "gtk-x11-2.0", |
| 412 | "gdk-x11-2.0", |
| 413 | # "gdk_pixbuf-2.0", |
| 414 | # "gdk_pixbuf_xlib-2.0", |
| 415 | # CEF and CEF Python libraries |
| 416 | "cef_dll_wrapper", |
| 417 | "cefpythonapp", |
| 418 | "client_handler", |
| 419 | "cpp_utils", |
| 420 | ]) |
| 421 | return libraries |
| 422 | |
| 423 | |
| 424 | def get_ext_modules(options): |