Repository URL to install this package:
|
Version:
0.2.1 ▾
|
import sys
from ddtrace.profile import _build
def _not_compatible_abi():
raise ImportError("Python ABI is not compatible, you need to recompile this module")
if (3, 7) < _build.compiled_with <= (3, 7, 3):
if sys.version_info[:3] > (3, 7, 3):
_not_compatible_abi()
elif (3, 7, 3) < _build.compiled_with < (3, 8):
if (3, 7) < sys.version_info[:3] <= (3, 7, 3):
_not_compatible_abi()