equal
deleted
inserted
replaced
44 path = AbsDir(file) |
44 path = AbsDir(file) |
45 for dummy in range(0, level): |
45 for dummy in range(0, level): |
46 path = os.path.dirname(path) |
46 path = os.path.dirname(path) |
47 return path |
47 return path |
48 |
48 |
49 def ThirdPartyPath(name): |
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 return os.path.join(AbsParentDir(__file__, 2), name) |
53 return os.path.join(AbsParentDir(__file__, 2), name, *suffixes) |
54 |
54 |
55 def Bpath(*names): |
55 def Bpath(*names): |
56 """ |
56 """ |
57 Return path of files in Beremiz project |
57 Return path of files in Beremiz project |
58 """ |
58 """ |