fixed installation with setuptools and image resampling