I have a Python3 project currently hosted on GCloud. I'm looking to enhance this project by allowing report generation based on a template. I'm investigating WeasyPrint.
The thing about WeasyPrint is that it has a lot of requirements required to manually install that can't be done through pip
. One particular one is GDK-PixBuf, which not only require a sudo-install
(?), but also references to PATH
in the environment variable.
I'm a relative newbie to GCloud deployment and I'm not sure how to do this in the GCloud server, hence my (initial) reluctance to use WeasyPrint.
On top of that, while reading on on how to do this, Google themselves only has documentation for it in Python2 which says it(and Cairo) are not supported, nothing about Python 3, which is further confusing me.
The Python3 documentation itself is not helping much.
I found something with regards to this, but aside from its age, it's more catered towards Python2.