Skip to content

Commit 406ddd6

Browse files
committed
Remove Python 2.7 support
Remove support for 2.7 and below 3.6 Python version. Elasticsearch from version 8.0 version, new library supports Python 3.6+.
1 parent f86b127 commit 406ddd6

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

README.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@ Install using pip::
2626

2727
pip install CMRESHandler
2828

29-
Requirements Python 2
30-
=====================
31-
This library requires the following dependencies
32-
- elasticsearch
33-
- requests
34-
- enum
35-
36-
3729
Requirements Python 3
3830
=====================
3931
This library requires the following dependencies

setup.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
# To use a consistent encoding
1010
from codecs import open
1111
from os import path
12-
import sys
1312

1413
here = path.abspath(path.dirname(__file__))
1514

@@ -22,10 +21,6 @@
2221
'requests'
2322
]
2423

25-
# If python version is above 3.4 (built in enums supported enums)
26-
if sys.version_info <= (3,4):
27-
dependencies.append('enum')
28-
2924
print("List of dependencies : {0}".format(str(dependencies)))
3025

3126
setup(
@@ -67,7 +62,6 @@
6762

6863
# Specify the Python versions you support here. In particular, ensure
6964
# that you indicate whether you support Python 2, Python 3 or both.
70-
'Programming Language :: Python :: 2.7',
7165
'Programming Language :: Python :: 3.6',
7266
],
7367

0 commit comments

Comments
 (0)