from setuptools import setup

REQUIREMENTS = [
    "docopt==0.6.1",
    "feedparser==5.1.3",
    "jabberbot==0.15",
    "xmpppy==0.5.0rc1",
]

if __name__ == "__main__":
    setup(
        name="dudebot",
        version="0.0.5",
        author="Sujay Mansingh",
        author_email="sujay.mansingh@gmail.com",
        packages=["dudebot", "dudebot.examples"],
        package_data={
            "dudebot": ["README.md"]
        },
        scripts=[],
        url="https://github.com/sujaymansingh/dudebot",
        license="LICENSE.txt",
        description="A really simple framework for chatroom bots",
        long_description=open("README.md").read(),
        install_requires=REQUIREMENTS
    )

import setuptools

REQUIREMENTS = [
    "docopt==0.6.1",
    "feedparser==5.1.3",
    "jabberbot==0.15",
    "xmpppy==0.5.0rc1",
]

if __name__ == "__main__":
    setuptools.setup(
        name="dudebot",
        version="0.0.5",
        author="Sujay Mansingh",
        author_email="sujay.mansingh@gmail.com",
        packages=setuptools.find_packages(),
        package_data={
            "dudebot": ["README.md"]
        },
        scripts=[],
        url="https://github.com/sujaymansingh/dudebot",
        license="LICENSE.txt",
        description="A really simple framework for chatroom bots",
        long_description=open("README.md").read(),
        install_requires=REQUIREMENTS
    )

Use utils from setup_tools.