Commit bafdbdd3 authored by Lars Kruse's avatar Lars Kruse
parents aca4bf3c 5bd91f79
......@@ -51,6 +51,6 @@ else:
if _use_precision:
number = lambda value: decimal.Decimal(str(value))
else:
number = lambda value: float(value)
number = float
......@@ -40,7 +40,7 @@ if "_MEIPASS2" in os.environ:
DATA_BASE_DIRS = [os.path.join(PROJECT_BASE_DIR, "share"),
os.path.join(PROJECT_BASE_DIR, "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