diff --git a/CadQuery/InitGui.py b/CadQuery/InitGui.py index b39d1b5..0a711c5 100644 --- a/CadQuery/InitGui.py +++ b/CadQuery/InitGui.py @@ -41,6 +41,7 @@ class CadQueryWorkbench (Workbench): libs_dir_path = os.path.join(module_base_path, 'Libs') libs_path = os.path.join(libs_dir_path, 'libs.zip') sys.path.insert(0, os.path.join(libs_dir_path, 'cadquery')) + sys.path.insert(0, libs_dir_path) sys.path.insert(0, libs_path) import cadquery @@ -109,7 +110,7 @@ class CadQueryWorkbench (Workbench): , args=['-s', libs_path, fc_lib_path, os.path.join(libs_dir_path, 'cadquery')]) else: codePane = PyCodeEdit(server_script=server_path, interpreter=interpreter - , args=['-s', libs_path, os.path.join(libs_dir_path, 'cadquery')]) + , args=['-s', libs_path, libs_dir_path, os.path.join(libs_dir_path, 'cadquery')]) codePane.setObjectName("cqCodePane") diff --git a/CadQuery/Libs/libs.zip b/CadQuery/Libs/libs.zip index 5e7b639..3c664bb 100644 Binary files a/CadQuery/Libs/libs.zip and b/CadQuery/Libs/libs.zip differ