alphaparrot / ExoPlaSim

Exoplanet Planet Simulator (PlaSim extended for different planet types (including tidally-locked) and evolution on geological timescales--glaciers and carbon cycle)
GNU General Public License v2.0
65 stars 12 forks source link

Configure script fails with Python version >= 3.10 #9

Closed zoqaeski closed 5 months ago

zoqaeski commented 1 year ago

The Python version checking in __init__.py starting around line 76 fails when the installed Python version is newer than 3.10, because it trims the version number to three characters.

My system has Python 3.11 installed, and when running the initial configure script, it crashes trying to run Python 3.1, which doesn't exist.

alphaparrot commented 5 months ago

Version is now correctly passed through to configuration script, and also obviated by pivot to pythonic f2py compilation