Skip to content

Commit

Permalink
windows check
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Nov 9, 2023
1 parent 70041bd commit a0236bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebound/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a0236bf

Please sign in to comment.