[dist] fix testsuite run in package with sphinx