forked from imsweb/django-seeker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (29 loc) · 992 Bytes
/
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
from setuptools import find_packages, setup
import os
import re
def get_version():
with open(os.path.join(os.path.dirname(__file__), 'seeker', '__init__.py')) as fp:
return re.match(r".*__version__ = '(.*?)'", fp.read(), re.S).group(1)
setup(
name='django-seeker',
version=get_version(),
description='A python package for mapping and querying Django models in Elasticsearch.',
author='Dan Watson',
author_email='watsond@imsweb.com',
url='https://github.com/imsweb/django-seeker',
license='BSD',
packages=find_packages(),
install_requires=[
'elasticsearch-dsl>=2.0.0,<3.0.0',
'snowballstemmer',
],
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
]
)