File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ Version 8.0.1 (TBD)
12
12
<https://oracle.github.io/odpi/doc/releasenotes.html#
13
13
version-4-0-2-TBD> `__. This includes the fix for
14
14
(`issue 459 <https://github.com/oracle/python-cx_Oracle/issues/459 >`__).
15
+ #) Added metadata (and an exception) specifying that Python 3.5 and higher is
16
+ required in order to allow pip (and the exception message) to direct those
17
+ using Python 2 to use version 7.3 instead.
15
18
#) Documentation improvements.
16
19
17
20
Original file line number Diff line number Diff line change 14
14
15
15
# check minimum supported Python version
16
16
if sys .version_info [:2 ] < (3 , 5 ):
17
- raise Exception ("Python 3.5 or higher is required." )
17
+ raise Exception ("Python 3.5 or higher is required. " +
18
+ "For python 2, use 'pip install cx_Oracle==7.3'" )
18
19
19
20
# if setuptools is detected, use it to add support for eggs
20
21
try :
@@ -122,6 +123,7 @@ def run(self):
122
123
author = "Anthony Tuininga" ,
123
124
author_email = "[email protected] " ,
124
125
url = "https://oracle.github.io/python-cx_Oracle" ,
126
+ python_requires = ">=3.5" ,
125
127
ext_modules = [extension ],
126
128
keywords = "Oracle" ,
127
129
license = "BSD License" ,
You can’t perform that action at this time.
0 commit comments