forked from jayzeng/scrapy-elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (32 loc) · 1.43 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
import ast
import re
from distutils.core import setup
from setuptools import find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('scrapyelasticsearch/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(name='ScrapyElasticSearch',
version=version,
license='Apache License, Version 2.0',
description='Scrapy pipeline which allow you to store multiple scrapy items in Elastic Search.',
long_description=open('README.rst').read(),
author='Jay Zeng, Michael Malocha, Julien Duponchelle',
author_email='[email protected], [email protected]',
url='https://github.com/knockrentals/scrapy-elasticsearch.git',
download_url='https://github.com/knockrentals/scrapy-elasticsearch/tarball/master',
keywords='scrapy elastic search',
packages=find_packages(),
platforms=['Any'],
install_requires=['scrapy', 'elasticsearch'],
extras_require={
'requests': ['requests>=2.10.0'],
'ntlm': ['requests_ntlm>=0.2.0'],
'ssl': ['certifi>=2017.7.27.1']
},
classifiers=['Development Status :: 4 - Beta',
'Environment :: No Input/Output (Daemon)',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python']
)