--- a/bacnet/bacnet.py Thu Apr 01 15:51:24 2021 +0200
+++ b/bacnet/bacnet.py Wed May 12 11:36:56 2021 +0200
@@ -38,9 +38,7 @@
from ConfigTreeNode import ConfigTreeNode
import util.paths as paths
-base_folder = os.path.split(os.path.dirname(os.path.realpath(__file__)))[0]
-base_folder = os.path.join(base_folder, "..")
-BacnetPath = os.path.join(base_folder, "BACnet")
+BacnetPath = paths.ThirdPartyPath("BACnet")
BacnetLibraryPath = os.path.join(BacnetPath, "lib")
BacnetIncludePath = os.path.join(BacnetPath, "include")
BacnetIncludePortPath = os.path.join(BacnetPath, "ports")