#!/usr/bin/env python

from setuptools import setup
setup(
    name='mtop',
    version='0.1',
    url='https://github.com/beaufour/mtop',
    author='Allan Beaufour',
    description='mtop is a top like tool for MongoDB.',
    zip_safe=False,
    install_requires=[
        'pymongo'
    ],
    entry_points = {
        'console_scripts': [
            'mtop = mtop:main'
        ],
    }
)
Add setup.py with a console entry point.