[Soc-2017-dev] Daily Report - Jul 11 - Package Manager

Sybren A. Stüvel sybren at blender.studio
Thu Jul 13 22:13:43 CEST 2017


On 2017-07-13 22:11, Ellwood Zwovic wrote:
>> I would just pass the list of paths to the subprocess. That'll
>> probably work more reliable; I don't expect the bpy module to be
>> picklable.
> I tried passing just bpy.utils.user_resource, and that appears to have 
> worked.

Please don't pass callables. As I said, keep your contract simple. 
Sending over a list of strings is a much easier to grasp concept (and 
more well-defined) than sending over some callable.

Sybren

-- 
Dr. Sybren A. Stüvel

https://cloud.blender.org/
https://stuvelfoto.nl/
https://stuvel.eu/



More information about the Soc-2017-dev mailing list