-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (46 loc) · 1.48 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
from setuptools import setup, find_packages
core_plugin = {
'araneid.downloader': [
'Http=araneid.downloader.aiohttp:Http',
'Socket=araneid.downloader.aiosocket:Socket',
'WebSocket=araneid.downloader.aiowebsocket:WebSocket',
],
'araneid.spider.router': [
'LocalRouter=araneid.spider.routes.LocalSpiderRouter:LocalSpiderRouter'
],
'araneid.scheduler': [
'DefaultScheduler=araneid.scheduler.default:DefaultScheduler'
],
'araneid.script': [
'start=araneid.scripts.start:parser',
'test=araneid.scripts.test:parser',
'parse=araneid.scripts.parse:parser',
],
'araneid.setting': [
'araneid=araneid.settings'
]
}
def get_install_requires():
with open('requirements.txt') as f:
required = f.read().splitlines()
return required
setup(
name='araneid',
version='v3.0.2rc6',
author='Wall\'e',
author_email='',
packages=find_packages('.'),
entry_points = {
"console_scripts": [
'araneid=araneid.scripts.araneid:main'
],
**core_plugin,
},
data_files = [('.', ['requirements.txt'])],
url='https://github.com/WALL-EEEEEEE/araneid',
python_requires='>=python3.7',
license='LICENSE.txt',
description='Aranied is designed to be a highly intergrated, configurable, and out of box crawler framework for data',
long_description=open('README.rst', encoding='utf-8').read(),
install_requires=get_install_requires(),
)