Commit 9353b43c authored by Cyril Guilloud's avatar Cyril Guilloud
Browse files

Fix loading of XPC speedgoat lib to avoid error on linux.

parent 03599e74
Pipeline #49077 passed with stages
in 168 minutes and 15 seconds
......@@ -8,10 +8,20 @@
from __future__ import absolute_import
import os
import sys
import operator
import functools
import numpy
if sys.platform == "win32":
# Import only on Windows (server-side) to avoid
# loading of .dll
from ._cffi import xpc, ffi
xpc = None
ffi = None
from ._cffi import xpc, ffi
Supports Markdown
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