1. Eric Larson
  2. eggmonster

Source

eggmonster / setup.py

import sys
from setuptools import setup

py26 = sys.version_info >= (2,6)
json_requirement = ['simplejson'] if not py26 else []

setup(
    name='eggmonster',
    use_hg_version=True,
    author="Jamie Turner/YouGov",
    packages=["eggmonster", "eggmonster.client", "eggmonster.control",
        "eggmonster.commands",],
    install_requires=[
        "PyYAML",
        "httplib2",
        "zc.lockfile==1.0",
        ] + json_requirement,
    extras_require=dict(
        server = [
            'eventful',
            'event',
            ],
        ),
    entry_points = {
        'console_scripts' : [
            'emget = eggmonster.emget:run',
            'emup = eggmonster.emup:run',
            "em = eggmonster.commands.em:run",
            "emi = eggmonster.commands.emi:run",
            "monster_debug = eggmonster.commands.monster_debug:run",
            "monster_eggserver = eggmonster.commands.monster_eggserver:run",
            "monster_launchd = eggmonster.commands.monster_launchd:run",
            "monster_logd = eggmonster.commands.monster_logd:run",
            "monster_run = eggmonster.commands.monster_run:run",
            "monster_server = eggmonster.commands.monster_server:run",
            ]
        },
    setup_requires = [
        'hgtools',
        ],
    )