for now warcprox.py is just a command, not a module

This commit is contained in:
Noah Levitt 2013-10-15 15:57:14 -07:00
parent b201801bd9
commit 556e969465
4 changed files with 1 additions and 68 deletions

View File

@ -1,3 +0,0 @@
[egg_info]
tag_build = dev
tag_svn_revision = true

View File

@ -1,22 +0,0 @@
from setuptools import setup, find_packages
from os import path
def read(fname):
return open(path.join(path.dirname(__file__), fname)).read()
setup(
name='warcprox',
author='Noah Levitt',
version='1.0',
author_email='nlevitt@archive.org',
description='warcprox - WARC writing MITM HTTP/S proxy',
license='GPL',
url='https://github.com/nlevitt/warcprox',
long_description=read('README.md'),
packages=find_packages('src'),
package_dir={ '' : 'src' },
install_requires = [
'pyopenssl',
'warctools'
]
)

View File

@ -1,15 +0,0 @@
#!/usr/bin/env python
__author__ = 'Nadeem Douba'
__copyright__ = 'Copyright 2012, Cygnos Corporation'
__credits__ = ['Nadeem Douba']
__license__ = 'GPL'
__version__ = '0.1'
__maintainer__ = 'Nadeem Douba'
__email__ = 'ndouba@cygnos.com'
__status__ = 'Development'
__all__ = [
'proxy'
]

View File

@ -2,12 +2,6 @@
# vim:set sw=4 et:
#
# python3 imports
# from http.server import HTTPServer, BaseHTTPRequestHandler
# from urllib.parse import urlparse, urlunparse, ParseResult
# from socketserver import ThreadingMixIn
# from http.client import HTTPResponse
import BaseHTTPServer, SocketServer
import httplib
import socket
@ -20,31 +14,10 @@ from hanzo import warctools
import uuid
import hashlib
from datetime import datetime
import time
import Queue
import threading
import os.path
import os, os.path
import argparse
import os
__author__ = 'Nadeem Douba'
__copyright__ = 'Copyright 2012, PyMiProxy Project'
__credits__ = ['Nadeem Douba']
__license__ = 'GPL'
__version__ = '0.1'
__maintainer__ = 'Nadeem Douba'
__email__ = 'ndouba@gmail.com'
__status__ = 'Development'
__all__ = [
'ProxyHandler',
'RequestInterceptorPlugin',
'ResponseInterceptorPlugin',
'MitmProxy',
'AsyncMitmProxy',
'InvalidInterceptorPluginException'
]
class UnsupportedSchemeException(Exception):