only install pathlib/enum on py2