-
Notifications
You must be signed in to change notification settings - Fork 332
/
setup.py
63 lines (52 loc) · 1.53 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# -*- coding: utf-8 -*-
"""
GRequests allows you to use Requests with Gevent to make asynchronous HTTP
Requests easily.
Usage
-----
Usage is simple::
import grequests
urls = [
'http://www.heroku.com',
'http://tablib.org',
'http://httpbin.org',
'http://python-requests.org',
'http://kennethreitz.com'
]
Create a set of unsent Requests::
>>> rs = (grequests.get(u) for u in urls)
Send them all at the same time::
>>> grequests.map(rs)
[<Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>]
"""
from setuptools import setup
setup(
name='grequests',
version='0.7.0',
url='https://github.com/spyoungtech/grequests',
license='BSD',
author='Kenneth Reitz',
author_email='[email protected]',
description='Requests + Gevent',
long_description=__doc__,
install_requires=[
'gevent',
'requests'
],
tests_require = ['pytest'],
py_modules=['grequests'],
zip_safe=False,
include_package_data=True,
platforms='any',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)