Open JT8D-17 opened 7 months ago
Self contained O4XP install is a genial idea, especially when running and testing several versions of O4XP - thank you!
System GDAL is not visible in venv. pip install gdal==$(gdal-config --version) works within Python 3.12 venv on macOS and GDAL 3.9 gdal_array, used by O4XP, works correctly only in venv created with "--system-site-packages" option with GDAL 3.8.5
$PWD is a bit different on Arch SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd) works on all Unix based systems. path=PATH on macOS, it is better to use different name, like "venv_path"
idna, charset-normalizer, urllib, certifi are installed automatically by pip, as dependency of requests. Chardet is deprecated, if I understand correctly (replaced by charset-normalizer)
scikit-fmm for python 3.12 has been released. Use: pip install scikit-fmm. On macOS, Arch, Ubuntu 24 it is only possible in venv (tested), as global pip/pip3 install has been disabled with Python 12.
If I understand correctly, it is still compiled from source - by pip install.
Scikit-fmm installs from pip without issues for me now. I've updated the script and requirements accordingly.
This adds: