From 3ba0a7f1e2f21e8bc1bc7af3fd7c53ff56e5fb9c Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sun, 2 Aug 2020 13:01:37 -0700 Subject: [PATCH] parallel cythonize extension build --- can/common_pyx_setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/can/common_pyx_setup.py b/can/common_pyx_setup.py index b071dc3..72a0cde 100644 --- a/can/common_pyx_setup.py +++ b/can/common_pyx_setup.py @@ -63,9 +63,9 @@ setup(name='CAN parser', include_dirs=include_dirs, extra_link_args=extra_link_args, ), + nthreads=4, annotate=ANNOTATE ), - nthreads=4, ) if platform.system() == "Darwin": @@ -85,9 +85,9 @@ setup(name='CAN packer', include_dirs=include_dirs, extra_link_args=extra_link_args, ), + nthreads=4, annotate=ANNOTATE ), - nthreads=4, ) if platform.system() == "Darwin":