Converted script to setuptools.