fixed dependency resolution when using setuptools