Use setuptools if available
Add missing loop
Allow reseting wcs object