forked from lorien/grab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (62 loc) · 2 KB
/
Copy pathsetup.py
File metadata and controls
65 lines (62 loc) · 2 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import os
from setuptools import setup
ROOT = os.path.dirname(os.path.realpath(__file__))
setup(
# Meta data
name='grab',
version='0.6.38',
author='Gregory Petukhov',
author_email='[email protected]',
maintainer='Gregory Petukhov',
maintainer_email='[email protected]',
url='http://grablib.org',
description='Web Scraping Framework',
long_description=open(os.path.join(ROOT, 'README.rst')).read(),
download_url='https://pypi.python.org/pypi/grab',
keywords='pycurl multicurl curl network parsing grabbing scraping'
' lxml xpath data mining',
license='MIT License',
# Package files
packages=[
'grab',
'grab.script',
'grab.spider',
'grab.spider.cache_backend',
'grab.spider.queue_backend',
'grab.spider.network_service',
'grab.transport',
'grab.util',
],
include_package_data=True,
# Dependencies
install_requires=[
'weblib>=0.1.23',
'six',
'user_agent',
'selection',
'lxml;platform_system!="Windows"',
'pycurl;platform_system!="Windows"',
'defusedxml',
],
extras_require={
'full': ['urllib3'],
},
# Topics
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'License :: OSI Approved :: MIT License',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet :: WWW/HTTP',
],
)