-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (33 loc) · 1.13 KB
/
Copy pathsetup.py
File metadata and controls
35 lines (33 loc) · 1.13 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
from setuptools import setup, find_packages
version = '0.1.2'
setup(name='torspider',
version=version,
description="Example/prototype of an asynchroneous web-crawler based on Tornado",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='web-crawler web-spider scraper',
author='Sergey Krushinsky',
author_email='krushinsky@gmail.com',
url='http://crawlers.info',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=True,
install_requires=[
'tornado',
'pycurl',
'bs4',
'lxml',
'motor',
'langdetect',
'python-dateutil',
],
entry_points={
'console_scripts': [
'torspider = torspider.main:run_main',
], # see: http://amir.rachum.com/blog/2017/07/28/python-entry-points/
'torspider_init': [], # initialization stage
'torspider_consume': [], # called when page is aquired or error is detected
}
)