forked from Codoc-os/django-opensearch-dsl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·53 lines (50 loc) · 1.66 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
"""Setuptools entry point."""
import codecs
import os
from setuptools import setup
DIRNAME = os.path.dirname(__file__)
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
"Environment :: Web Environment",
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
]
LONG_DESCRIPTION = (
codecs.open(os.path.join(DIRNAME, 'README.md'), encoding='utf-8').read()
+ '\n'
+ codecs.open(os.path.join(DIRNAME, 'docs/CHANGELOG.md'), encoding='utf-8').read()
)
REQUIREMENTS = [
'opensearch-py>=2.2.0',
'dateutils',
]
EXTRA_REQUIREMENTS = {
'celery': ["celery>=4.1.0"],
}
setup(
name='django-opensearch-dsl',
version='0.6.2',
description="""Wrapper around opensearch-py for django models""",
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
author='Quentin Coumes (Codoc)',
author_email='[email protected]',
url='https://github.com/qcoumes/django-opensearch-dsl',
packages=['django_opensearch_dsl'],
include_package_data=True,
install_requires=REQUIREMENTS,
extras_require=EXTRA_REQUIREMENTS,
license="Apache Software License 2.0",
keywords='django elasticsearch elasticsearch-dsl opensearch opensearch-dsl opensearch-py',
classifiers=CLASSIFIERS,
)