Commit 53f9c310 authored by Paul Bonser's avatar Paul Bonser

Turn off multiprocessing, allow local locating of files

parent e3d8bccf
......@@ -33,7 +33,7 @@ DATA_BASE_DIRS = [os.path.realpath(os.path.join(os.path.dirname(__file__),
os.path.realpath(os.path.join(os.path.dirname(__file__),
os.pardir, os.pardir, "share", "pycam")),
os.path.join(sys.prefix, "local", "share", "pycam"),
os.path.join(sys.prefix, "share", "pycam")]
os.path.join(sys.prefix, "share", "pycam"), '.']
FONTS_SUBDIR = "fonts"
UI_SUBDIR = "ui"
......
......@@ -13,6 +13,10 @@ from pycam.Toolpath import Bounds
from pycam.Toolpath.MotionGrid import get_fixed_grid
from pycam.Utils.locations import get_data_file_location
# Disable multi processing
from pycam.Utils import threading
threading.__multiprocessing = False
""" Profile PyCAM doing several operations, print out the top 10
(sorted by actual local runtime) methods.
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment