blob: b29dafb7502ad8e9ce18f06ab0890f8e8855129a [file] [log] [blame]
jcgregorio2d66d4f2006-02-07 05:34:14 +00001from distutils.core import setup
Joe Gregorio66611ff2009-07-19 01:32:17 -04002VERSION = '0.5.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',
Joe Gregorio66611ff2009-07-19 01:32:17 -04007 url='http://code.google.com/p/httplib2/',
8 download_url='http://httplib2.googlecode.com/files/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=[
jcgregorio0dafc142007-03-09 04:06:08 +000057 'Development Status :: 4 - Beta',
jcgregorio2d66d4f2006-02-07 05:34:14 +000058 'Environment :: Web Environment',
59 'Intended Audience :: Developers',
60 'License :: OSI Approved :: MIT License',
61 'Operating System :: OS Independent',
62 'Programming Language :: Python',
Joe Gregorio66611ff2009-07-19 01:32:17 -040063 'Programming Language :: Python :: 3',
jcgregorio2d66d4f2006-02-07 05:34:14 +000064 'Topic :: Internet :: WWW/HTTP',
65 'Topic :: Software Development :: Libraries',
66 ],
67 )
68