Use setuptools entry_points instead of script

Fixes #16