psydac
psydac copied to clipboard
Remove deprecated distutils (Python >=3.12)
Solves first TODO item in #406. Summary of changes:
- Removed
finalize_options()since this method does not differ from its base class implementation, therefore making the override unnecessary. - For
run(), it's sufficient to call the base classrun()and then add the custompyccelcommands. sub_run()should throw an error instead of failing silently (check=True).- Formatted code to conform with
PylintandPEP8checks
Can we do something about warning no. 3 at least?
Upon closer inspection it appers that this warning is not caused by Psydac, but rather by one of its dependencies. So please ignore this comment.