"""OAuth Proxy"""

from setuptools import setup, find_packages

setup(
    name="oauth-proxy",
    version="1.0.0",
    url="http://github.com/mojodna/oauth-proxy",
    license="BSD License",
    description="OAuth HTTP proxy",
    long_description="An OAuth proxy server that signs requests w/ provided tokens and passes them on to their original destination.",
    keywords="oauth proxy twisted",
    packages=find_packages(),
    scripts=["bin/oauth-proxy"],
    install_requires=["twisted>=8.2.0", "oauth>=1.0.1"],
    author="Seth Fitzsimmons",
    author_email="seth@mojodna.net",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Topic :: Utilities",
        "Topic :: Internet :: Proxy Servers",
        "License :: OSI Approved :: BSD License",
    ],
)

@@ -57,16 +57,126 @@
 ckages%0A%0A
+def refresh_plugin_cache():%0A    from twisted.plugin import IPlugin, getPlugins%0A    list(getPlugins(IPlugin))%0A%0A
 setup(%0A 
@@ -532,16 +532,82 @@
 ages(),%0A
+    package_data=%7B%0A        %22twisted%22: %5B%22plugins/proxy.py%22%5D%0A    %7D,%0A
     scri
@@ -964,8 +964,32 @@
    %5D,%0A)%0A
+%0Arefresh_plugin_cache()%0A

Install twisted plugin properly