Switched from distutils to setuptools to support command-line app.