UMEP-dev / UMEP-processing

7 stars 9 forks source link

Improve package installation #46

Closed robertschweizer closed 7 months ago

robertschweizer commented 7 months ago

Fixing locate_py and improving the error reporting and debugging if "pip install" fails.

See individual commits.

Closes https://github.com/UMEP-dev/UMEP-processing/issues/38 I think

robertschweizer commented 7 months ago

Thanks for reviewing already!

I made another change, removing the pip command-line from the message box again, and logging it together with the output instead. The whole pip output is there now for debugging and error reporting.

I also found the fix for the package installation problems I have on Mac and added it here (the --prefer-binary flag helps if gfortran is not installed to compile f90wrap).

biglimp commented 7 months ago

Looks good. Thanks for your effort. I will merge. I will also move it over to https://github.com/UMEP-dev/UMEP as the same issues can appear there.