setup.py: Port to pathlib

3 jobs for setup in 3 minutes and 22 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #19794
run-appdata

00:00:05

passed #19793
run-tests

00:03:05

 
  Build
passed #19795
run-build

00:00:11