wide-midnight-78598
03/13/2022, 1:59 PMresources
so that my files get packaged within my pex
, and then I think I need to use pkgutil
to access those .qml
and .svg
files? Or, is there any way I can make those files available using "normal" references from within my application ie.
engine = QQmlApplicationEngine()
engine.load("app.qml") # Can I make this relative "app.qml" work with resources?
2. Finishing up my ansible
plugin - I'm not sure if I should be using a files
or resources
dependency into the ansible
target, OR, if bundling my playbook + roles should be part of the target itself. My gut feel is that the target should specify directly all the source files it needs and can use (the latter option), but I'm not sure if there are other use cases and workflows I'm not considering properly (like, if we're pulling in files not nested in the target's directory).happy-kitchen-89482
03/13/2022, 7:35 PM__file__
of the running module (and note that __file__
may not be set, depending on how the pex was packaged and run)happy-kitchen-89482
03/13/2022, 7:36 PMhappy-kitchen-89482
03/13/2022, 7:36 PMload
on thathappy-kitchen-89482
03/13/2022, 7:36 PMhappy-kitchen-89482
03/13/2022, 7:37 PMwide-midnight-78598
03/13/2022, 11:45 PM