equal
deleted
inserted
replaced
48 |
48 |
49 def ThirdPartyPath(name, *suffixes): |
49 def ThirdPartyPath(name, *suffixes): |
50 """ |
50 """ |
51 Return folder where to find sibling projects like Modbus, CanFestival, BACnet |
51 Return folder where to find sibling projects like Modbus, CanFestival, BACnet |
52 """ |
52 """ |
|
53 env_name = name.upper() + "_PATH" |
|
54 if env_name in os.environ: |
|
55 return os.path.join(os.environ[env_name], *suffixes) |
|
56 |
53 return os.path.join(AbsParentDir(__file__, 2), name, *suffixes) |
57 return os.path.join(AbsParentDir(__file__, 2), name, *suffixes) |
54 |
58 |
55 def Bpath(*names): |
59 def Bpath(*names): |
56 """ |
60 """ |
57 Return path of files in Beremiz project |
61 Return path of files in Beremiz project |