pyyaml icon indicating copy to clipboard operation
pyyaml copied to clipboard

Added exception handling in setup.py if pathlib is not installed

Open elioskmil opened this issue 2 years ago • 1 comments

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.

elioskmil avatar Apr 16 '22 19:04 elioskmil

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?

nitzmahone avatar Apr 19 '22 17:04 nitzmahone