-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
89 lines (84 loc) · 2.66 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/usr/bin/env python
from os import path
import setuptools
def get_long_description():
BASEDIR = path.abspath(path.dirname(__file__))
with open(path.join(BASEDIR, 'README.rst'), encoding='utf-8') as f:
return f.read()
setuptools.setup(
name='autoscrape',
version='1.6.14',
description='An automated, programming-free web scraper for interactive sites',
long_description=get_long_description(),
author='Brandon Roberts',
author_email='[email protected]',
url='https://github.com/brandonrobertz/autoscrape-py',
license='AGPLv3',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
],
packages=[
'autoscrape',
'autoscrape.cli',
'autoscrape.util',
'autoscrape.backends',
'autoscrape.backends.base',
'autoscrape.backends.selenium',
'autoscrape.backends.requests',
'autoscrape.backends.warc',
'autoscrape.scrapers',
'autoscrape.search',
'autoscrape.vectorization',
],
entry_points={
'console_scripts': [
'autoscrape = autoscrape.cli.scrape:main',
]
},
install_requires=[
'lxml>=4.3.0',
'html5lib>=1.0.1',
'docopt>=0.6.2',
'cssselect>=1.1.0',
'requests>=2.22.0',
],
extras_require={
'selenium-backend': [
'selenium>=3.141.0,<4.0.0',
],
'warc-backend': [
'warcio>=1.7.3,<2.0.0',
'plyvel==1.2.0',
],
'embeddings-vectorizer': [
'numpy>=1.15.0'
],
'graph': [
'networkx>=2.2',
],
'all': [
'selenium>=3.141.0,<4.0.0',
'networkx>=2.2',
'numpy>=1.15.0',
'warcio>=1.7.3,<2.0.0',
'plyvel==1.2.0',
],
}
)