-
Notifications
You must be signed in to change notification settings - Fork 275
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (40 loc) · 1.12 KB
/
Copy pathsetup.py
File metadata and controls
41 lines (40 loc) · 1.12 KB
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
from setuptools import setup
setup(
name="grab",
version="1.2.0",
packages=[
"grab",
"grab.script",
"grab.spider",
"grab.spider.cache_backend",
"grab.spider.queue_backend",
"grab.spider.network_service",
"grab.transport",
"grab.util",
],
install_requires=[
"six",
"user_agent",
"selection>=2.0.1",
'lxml;platform_system != "Windows" or python_version >= "3.13"',
'pycurl;platform_system != "Windows" or python_version >= "3.13"',
"defusedxml",
'typing-extensions; python_version <= "2.7"',
"unicodec>=0.2.0",
],
extras_require={
"full": [ # deprecated
"urllib3",
"certifi",
],
"urllib3": [
"urllib3",
"certifi",
],
"pyquery": [
'pyquery; platform_system != "Windows" and python_version >= "3.0"',
'pyquery; platform_system == "Windows" and python_version >= "3.13"',
'pyquery <= 1.4.1; platform_system != "Windows" and python_version <= "2.7"',
],
},
)