use setuptools instead of distutils.core

otherwise the entry_points option doesn't work correctly
with python setup.py install