import os
from setuptools import setup

def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name = "mwoauth",
    version = "0.1.0",
    author = "Aaron Halfaker / Filippo Valsorda",
    author_email = "ahalfaker@wikimedia.org",
    description = ("A generic MediaWiki OAuth handshake helper."),
    license = "MIT",
    url = "https://github.com/halfak/MediaWiki-OAuth",
    py_modules = ['mwoauth'],
    long_description = read('README.rst'),
    install_requires = [
        "requests-oauthlib",
        "PyJWT"
    ],
    classifiers=[
        "Development Status :: 4 - Beta",
        "Topic :: Security",
        "License :: OSI Approved :: MIT License",
        "Topic :: Software Development :: Libraries :: Python Modules"
    ],
)

Add a setup.py