From a0236bf7bb7930a7fe23d897709d9219a7848c44 Mon Sep 17 00:00:00 2001 From: Hanno Rein Date: Thu, 9 Nov 2023 10:39:41 -0500 Subject: [PATCH] windows check --- rebound/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebound/__init__.py b/rebound/__init__.py index 40d53a962..bc9db1c1d 100644 --- a/rebound/__init__.py +++ b/rebound/__init__.py @@ -8,7 +8,7 @@ from ctypes import cdll, c_char_p # Find suffix -if platform.system()=="Windows": +if platform.system()=="Windows" and sys.version_info.major<=3 and sys.version_info.minor<3.8: # Using distutils.sysconfig instead of sysconfig because # of a bug in Python < 3.8 on windows import distutils.sysconfig as sysconfig