forked from koansys/koansys.recipe.elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (48 loc) · 1.59 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
"""Setup script."""
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.getcwd(), *rnames)).read()
setup(
name="koansys.recipe.elasticsearch",
version=read('version.txt').strip(),
author="Koansys, LLC",
author_email="[email protected]",
description="ZC Buildout recipe for setting up elasticsearch.",
license="LGPL 3",
keywords="elasticsearch zc.buildout recipe",
url='http://pypi.python.org/pypi/koansys.recipe.elasticsearch',
long_description=(
read('README.txt')
+ '\n' +
read('src', 'koansys', 'recipe', 'elasticsearch', 'README.txt')
+ '\n' +
read('CHANGES.txt')
),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Buildout',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=find_packages('src'),
include_package_data=True,
package_dir={'': 'src'},
package_data={'koansys.recipe.elasticsearch': ['README.txt']},
namespace_packages=['koansys', 'koansys.recipe'],
install_requires=[
'setuptools',
'zc.buildout',
'zc.recipe.egg',
],
extras_require={
'test': [
'zope.testing',
'manuel',
],
},
entry_points={'zc.buildout': ['default = koansys.recipe.elasticsearch:Recipe']},
zip_safe=False,
)