Add more dependencies and handle case where setuptools is not installed