changeset 4042 | 03df7946c2fa |
parent 3983 | 466be4f52cb9 |
--- a/util/paths.py Mon Nov 18 22:42:11 2024 +0100 +++ b/util/paths.py Tue Nov 19 23:52:04 2024 +0100 @@ -50,6 +50,10 @@ """ Return folder where to find sibling projects like Modbus, CanFestival, BACnet """ + env_name = name.upper() + "_PATH" + if env_name in os.environ: + return os.path.join(os.environ[env_name], *suffixes) + return os.path.join(AbsParentDir(__file__, 2), name, *suffixes) def Bpath(*names):