forked from django-haystack/django-haystack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·70 lines (63 loc) · 1.78 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
68
69
70
#!/usr/bin/env python
# encoding: utf-8
# n.b. we can't have unicode_literals here due to http://bugs.python.org/setuptools/issue152
from __future__ import absolute_import, division, print_function
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
install_requires = [
'Django>=1.8',
'Django<1.12',
]
tests_require = [
'pysolr>=3.3.2',
'whoosh>=2.5.4,<3.0',
'python-dateutil',
'geopy==0.95.1',
'nose',
'mock',
'coverage',
]
setup(
name='django-haystack',
use_scm_version=True,
description='Pluggable search for Django.',
author='Daniel Lindsley',
author_email='daniel@toastdriven.com',
long_description=open('README.rst', 'r').read(),
url='http://haystacksearch.org/',
packages=[
'haystack',
'haystack.backends',
'haystack.management',
'haystack.management.commands',
'haystack.templatetags',
'haystack.utils',
],
package_data={
'haystack': [
'templates/panels/*',
'templates/search_configuration/*',
]
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Utilities',
],
zip_safe=False,
install_requires=install_requires,
tests_require=tests_require,
test_suite="test_haystack.run_tests.run_all",
setup_requires=['setuptools_scm'],
)