forked from jcrocholl/throxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (37 loc) · 1.33 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
"""Throttling HTTP proxy in one Python file
* Simulate a slow connection (like dial-up).
* Adjustable bandwidth limit for download and upload.
* Optionally dump HTTP headers and content for debugging.
* Decompress gzip content encoding for debugging.
* Multiple connections, without threads (uses asyncore).
* Only one source file, written in pure Python.
"""
from distutils.core import setup
doc_lines = __doc__.split('\n')
description = doc_lines[0]
long_description = '\n'.join(doc_lines[1:]).rstrip()
classifiers = filter(None, map(str.strip, """
Development Status :: 4 - Beta
License :: OSI Approved :: MIT License
Programming Language :: Python
Intended Audience :: Information Technology
Intended Audience :: System Administrators
Intended Audience :: Developers
Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: Browsers
Topic :: Internet :: WWW/HTTP :: HTTP Servers
Topic :: Internet :: WWW/HTTP :: Dynamic Content
""".split('\n')))
setup(
name='throxy.py',
version='0.1',
description=description,
long_description=long_description,
license='http://www.opensource.org/licenses/mit-license.php',
author='Johann C. Rocholl',
author_email='[email protected]',
url='http://github.com/jcrocholl/throxy/raw/master/throxy.py',
classifiers=classifiers,
platforms=['any'],
scripts=['throxy.py'],
)