pyyaml
pyyaml copied to clipboard
Added exception handling in setup.py if pathlib is not installed
Systems that do not have pathlib installed will not work with pyyaml. I have added a small piece of code that allows for pyyaml to be installed on systems that use pathlib2, which is more actively maintained.
Unless I'm missing something, pathlib has been part of Python stdlib since 3.4, and PyYAML only supports 3.6+ - who doesn't have pathlib
on a modern Python?