Still trying to get Windows and Linux to agree on what paths need to be in sys.path.

This commit is contained in:
Jeremy Wright 2014-12-02 23:52:03 -05:00
parent d5aa9e0a26
commit 4440bdd2e2

View File

@ -40,6 +40,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