We have been using symlinks and environment variables prior to 2025 to have a central location for various hooks, matchbox shaders, export presets, etc. I’ve started to test this new sysconfig.cfg action but I’ve hit a stumbling block with multiple paths for a given section.
The main issue is for python hooks. We use NiM and have a respository of our own for a load of things but those are in 2 separate locations. With environment variables you could just use : between two paths and both would be loaded. It doesn’t work that way with the new config file.
Does anyone know if there’s a way to have 2 of more paths for a given component? @Slabrie@fredwarren ?
Hello Kyle!
There is no way to define multiple paths for an item but please fill a request on flame-feedback and @fredwarren will have a look at what could be done for future updates.
Just want to clarify one thing. What you can centralized in the sysconfig file are the “shared” python scripts. As Stéphane said, you can only have one path in there. However, you can also define python scripts at the project, user, and application levels and they will all add up inside the application. In addition, you can specify an extra path using the DL_PYTHON_HOOK_PATH variable.
Understood. I suppose I’m after the ability to use : as a way to add more than one path just as we’re currently doing with the environment variable that you mentioned. I’ll make a feature request unless it just can’t be done due to the nature of JSON.