[PySide] Packaging for guix

John Soo jsoo1 at asu.edu
Thu Mar 28 06:21:35 CET 2019


Hello pyside maintainers,

Hope you are all well.  I am looking to package freecad for the guix package manager for which pyside is a dependency. I’m having some trouble packaging pyside as the build and environment for guix (like nix) are quite different from a Debian style system. There a quite a few differences:

 -  the prefix for installation directories is in a unique directory specific to the package
 - cmake and python require many particular environment variables and flags
- library and linking paths are very different and often source shebangs and linking paths need to be patched to point to the correct paths
 - the build process happens in an isolated build environment apart from any system directories
 - probably more that I haven’t come across yet

I’ve tried using the provided python build process but I get several build errors, let alone runtime issues. Would anyone be able to point me in a direction to patch pyside for such a packaging system? Currently I’m stuck building Shiboken. I’d particularly like guidance on how to setup cmake to build it correctly (mostly the ability to provide our particular flags and variables). Any help would be greatly appreciated.

Thank you,

John


More information about the PySide mailing list