-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
67 lines (59 loc) · 1.9 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
#!/usr/bin/env python
import os
import sys
from glob import glob
# PREREQUISITES:
# yum install -y libxml2-devel libxslt-devel
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
requires = [
'elasticsearch',
'lxml',
'oauthlib',
'python-daemon==2.0.6', # For services, version 2.1 is fucked (change user stuff)
'argparse',
'psutil', 'setproctitle',
'pika', 'pyrabbit', # for Rabbitmq
'pykafka', # For Kafka
'HTMLParser',
'requests>=2', # version >=2 needed by TwitterAPI
'TwitterAPI',
'PyYAML', # for prog logging init stuff
'feedparser', # for rss
'python-dateutil',
# 'mock' # for testing
'beautifulsoup4',
'textblob', 'justext' # for web.py
]
setup(
name='eslib',
version='0.0.14',
description='Document processing framework and utility for Elasticsearch (or whatever).',
#long_description=open("README.md").read(),
author='Hans Terje Bakke',
author_email='[email protected]',
url='https://github.com/comperiosearch/elasticsearch-eslib',
keywords="document processing docproc",
packages=['eslib', 'eslib.procs', 'eslib.service'],
# package_data={'': ['LICENSE', 'README.md', 'PROTOCOLS.md']},
scripts=glob('bin/*'),
include_package_data=True,
# TODO: examples in package data
install_requires=requires,
license='Apache 2.0',
zip_safe=False,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7'
)
)