blob: e3cee774be8f9fa414e93e8e29712bb810b9aba5 [file] [log] [blame]
jcgregorio2d66d4f2006-02-07 05:34:14 +00001from distutils.core import setup
jcgregorio17948c02006-06-29 05:31:17 +00002VERSION = '0.2.0'
jcgregorio2d66d4f2006-02-07 05:34:14 +00003setup(name='httplib2',
jcgregoriof79d94f2006-02-15 19:32:11 +00004 version=VERSION,
jcgregorio2d66d4f2006-02-07 05:34:14 +00005 author='Joe Gregorio',
6 author_email='joe@bitworking.org',
7 url='http://bitworking.org/projects/httplib2/',
jcgregoriof79d94f2006-02-15 19:32:11 +00008 download_url='http://bitworking.org/projects/httplib2/dist/httplib2-%s.tar.gz' % VERSION,
jcgregorio2d66d4f2006-02-07 05:34:14 +00009 description='A comprehensive HTTP client library.',
jcgregoriof79d94f2006-02-15 19:32:11 +000010 license='MIT',
jcgregorio2d66d4f2006-02-07 05:34:14 +000011 long_description="""
jcgregorio2d66d4f2006-02-07 05:34:14 +000012
jcgregoriof79d94f2006-02-15 19:32:11 +000013A comprehensive HTTP client library, ``httplib2`` supports many features left out of other HTTP libraries.
jcgregorio2d66d4f2006-02-07 05:34:14 +000014
jcgregoriof79d94f2006-02-15 19:32:11 +000015**HTTP and HTTPS**
16 HTTPS support is only available if the socket module was compiled with SSL support.
17
jcgregorio2d66d4f2006-02-07 05:34:14 +000018
jcgregoriof79d94f2006-02-15 19:32:11 +000019**Keep-Alive**
20 Supports HTTP 1.1 Keep-Alive, keeping the socket open and performing multiple requests over the same connection if possible.
jcgregorio2d66d4f2006-02-07 05:34:14 +000021
22
jcgregoriof79d94f2006-02-15 19:32:11 +000023**Authentication**
24 The following three types of HTTP Authentication are supported. These can be used over both HTTP and HTTPS.
25
26 * Digest
27 * Basic
28 * WSSE
29
30**Caching**
31 The module can optionally operate with a private cache that understands the Cache-Control:
jcgregorio17948c02006-06-29 05:31:17 +000032 header and uses both the ETag and Last-Modified cache validators. Both file system
33 and memcached based caches are supported.
jcgregorio2d66d4f2006-02-07 05:34:14 +000034
35
jcgregoriof79d94f2006-02-15 19:32:11 +000036**All Methods**
37 The module can handle any HTTP request method, not just GET and POST.
jcgregorio2d66d4f2006-02-07 05:34:14 +000038
39
jcgregoriof79d94f2006-02-15 19:32:11 +000040**Redirects**
41 Automatically follows 3XX redirects on GETs.
jcgregorio2d66d4f2006-02-07 05:34:14 +000042
43
jcgregoriof79d94f2006-02-15 19:32:11 +000044**Compression**
jcgregorio17948c02006-06-29 05:31:17 +000045 Handles both 'deflate' and 'gzip' types of compression.
jcgregorio2d66d4f2006-02-07 05:34:14 +000046
47
jcgregoriof79d94f2006-02-15 19:32:11 +000048**Lost update support**
49 Automatically adds back ETags into PUT requests to resources we have already cached. This implements Section 3.2 of Detecting the Lost Update Problem Using Unreserved Checkout
50
51
52**Unit Tested**
53 A large and growing set of unit tests.
jcgregorio2d66d4f2006-02-07 05:34:14 +000054 """,
jcgregorio30896112006-03-10 02:39:56 +000055 packages=['httplib2'],
jcgregorio2d66d4f2006-02-07 05:34:14 +000056 classifiers=[
57 'Development Status :: 3 - Alpha',
58 'Environment :: Web Environment',
59 'Intended Audience :: Developers',
60 'License :: OSI Approved :: MIT License',
61 'Operating System :: OS Independent',
62 'Programming Language :: Python',
63 'Topic :: Internet :: WWW/HTTP',
64 'Topic :: Software Development :: Libraries',
65 ],
66 )
67