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
53 stars 13 forks source link

Configure script fails with Python version >= 3.10 #9

Closed zoqaeski closed 1 month ago

zoqaeski commented 9 months 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 1 month ago

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