-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
31 lines (28 loc) · 1.37 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
import ast
import re
from distutils.core import setup
from setuptools import find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('scrapyappsearch/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(name='ScrapyAppSearch',
version=version,
license='Apache License, Version 2.0',
description='Scrapy pipeline which allow you to store multiple scrapy items in AppSearch.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author='Gustavo Llermaly, Jay Zeng, Michael Malocha, Julien Duponchelle',
url='https://github.com/llermaly/scrapy-appsearch.git',
download_url='https://github.com/llermaly/scrapy-appsearch/archive/0.1.0.tar.gz',
keywords='scrapy appsearch',
packages=find_packages(),
platforms=['Any'],
install_requires=['scrapy', 'elastic_enterprise_search'],
classifiers=['Development Status :: 4 - Beta',
'Environment :: No Input/Output (Daemon)',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python']
)