-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
75 lines (72 loc) · 2.46 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
64
65
66
67
68
69
70
71
72
73
74
75
from os.path import dirname, join
from setuptools import setup, find_packages
with open(join(dirname(__file__), 'aioscrapy/VERSION'), 'rb') as f:
version = f.read().decode('ascii').strip()
install_requires = [
"aiohttp",
"ujson",
"w3lib>=1.17.0",
"parsel>=1.5.0",
"PyDispatcher>=2.0.5",
'zope.interface>=5.1.0',
"redis>=4.3.1",
"aiomultiprocess>=0.9.0",
"loguru>=0.7.0",
"anyio>=3.6.2"
]
extras_require = {
"all": [
"aiomysql>=0.1.1", "httpx[http2]>=0.23.0", "aio-pika>=8.1.1",
"cryptography", "motor>=2.1.0", "pyhttpx>=2.10.1", "asyncpg>=0.27.0",
"XlsxWriter>=3.1.2", "pillow>=9.4.0", "requests>=2.28.2", "curl_cffi"
],
"aiomysql": ["aiomysql>=0.1.1", "cryptography"],
"httpx": ["httpx[http2]>=0.23.0"],
"aio-pika": ["aio-pika>=8.1.1"],
"mongo": ["motor>=2.1.0"],
"playwright": ["playwright>=1.31.1"],
"pyhttpx": ["pyhttpx>=2.10.4"],
"curl_cffi": ["curl_cffi>=0.6.1"],
"requests": ["requests>=2.28.2"],
"pg": ["asyncpg>=0.27.0"],
"execl": ["XlsxWriter>=3.1.2", "pillow>=9.4.0"],
}
setup(
name='aio-scrapy',
version=version,
url='https://github.com/conlin-huang/aio-scrapy.git',
description='A high-level Web Crawling and Web Scraping framework based on Asyncio',
long_description_content_type="text/markdown",
long_description=open('README.md', encoding='utf-8').read(),
author='conlin',
author_email="[email protected]",
license="MIT",
packages=find_packages(exclude=('example',)),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': ['aioscrapy = aioscrapy.cmdline:execute']
},
classifiers=[
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
python_requires='>=3.9',
install_requires=install_requires,
extras_require=extras_require,
keywords=[
'aio-scrapy',
'scrapy',
'aioscrapy',
'scrapy redis',
'asyncio',
'spider',
]
)