-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
52 lines (45 loc) · 1.52 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
# -*- coding: utf-8 -*-
import sys
from os.path import join, dirname
from setuptools import setup, find_packages
VERSION = (1, 2, 1)
__version__ = VERSION
__versionstr__ = '.'.join(map(str, VERSION))
long_description = 'Should have been loaded from README.md.'
with open(join(dirname(__file__), 'README.rst')) as f:
long_description = f.read().strip()
install_requires = [
'django>=1.6',
'elasticsearch-dsl>=0.0.4',
'python-dateutil',
'six',
]
tests_require = []
# use external unittest for 2.6
if sys.version_info[:2] == (2, 6):
tests_require.append('unittest2')
setup(
name="bungiesearch",
description="A Django elasticsearch wrapper and helper using elasticsearch-dsl-py high level library.",
license="BSD-3",
url="https://github.com/sparrho/bungiesearch",
long_description=long_description,
version=__versionstr__,
author="Christopher Rabotin",
author_email="christopher@sparrho.com",
packages=find_packages(
where='.',
exclude=('bungiesearch/tests',)
),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Framework :: Django"
],
keywords="elasticsearch haystack django bungiesearch sparrho",
install_requires=install_requires,
dependency_links=['https://github.com/elasticsearch/elasticsearch-dsl-py#egg=elasticsearch-dsl-py'],
)