Skip to content

Commit ffb8271

Browse files
Minor tweaks to the README.txt and BUILD.txt to account for changes over the
past few years.
1 parent 9e0487d commit ffb8271

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

BUILD.txt

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ oracle.com in order to successfully compile. Note, however, that if using RPMs
77
you do not need to do anything as cx_Oracle will compile out of the box without
88
any changes to the configuration of the machine.
99

10-
http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
10+
http://www.oracle.com/technetwork/database/features/instant-client/index.html
1111

1212
Each compressed tarball needs to be extracted to the exact same location.
1313
Uncompress and untar each file from the same location in order to achieve this
@@ -46,8 +46,8 @@ of libclntsh.so.
4646
Continue to step: Building and Compilation.
4747

4848

49-
OS X Build Hints
50-
----------------
49+
macOS Build Hints
50+
-----------------
5151
(Tested on Leopard 10.5.x)
5252
The procedures for OS X are almost idential to Linux except for the package
5353
names and a few environmental caveats. For OS X it is necessary to download
@@ -86,10 +86,7 @@ Continue to step: Building and Compilation.
8686
Building and Compilation
8787
------------------------
8888
Use the provided setup.py to build and install the module which makes use of
89-
the distutils module. Note that on Windows, I have used mingw32
90-
(http://www.mingw.org) and the module will not build with MSVC without
91-
modification. The commands required to build and install the module are as
92-
follows:
89+
the distutils module.
9390

9491
python setup.py build
9592
python setup.py install
@@ -103,8 +100,8 @@ cx_Oracle there should be a line containing only '>>>' which indicates the
103100
library successfully loaded.
104101

105102
$ python
106-
Python 2.5.2 (r252:60911, Oct 25 2008, 19:37:28)
107-
[GCC 4.1.2 (Gentoo 4.1.2 p1.1)] on linux2
103+
Python 3.6.0 (default, Jan 4 2017, 09:50:35)
104+
[GCC 6.3.1 20161221 (Red Hat 6.3.1-1)] on linux
108105
Type "help", "copyright", "credits" or "license" for more information.
109106
>>> import cx_Oracle
110107
>>>

README.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Open Source Python/Oracle Utility - cx_Oracle
22
---------------------------------------------
3+
34
cx_Oracle is a Python extension module that allows access to Oracle and
45
conforms to the Python database API 2.0 specifications with a number of
56
additions. The time data type is not supported by Oracle and is therefore not
@@ -29,8 +30,8 @@ Place the file cx_Oracle.pyd or cx_Oracle.so anywhere on your Python path.
2930

3031
Source Install
3132
--------------
32-
This module has been built with Oracle 10g, 11g and 12c on Linux and Windows.
33-
Others have reported success with other platforms such as Mac OS X.
33+
This module has been built with Oracle 11g and 12c on Linux, Windows and macOS.
34+
Others have reported success with other platforms.
3435

3536
For simplified installation use pip
3637

@@ -47,6 +48,8 @@ See BUILD.txt for additional information.
4748
Usage Example
4849
-------------
4950

51+
from __future__ import print_function
52+
5053
import cx_Oracle
5154

5255
# connect via SQL*Net string or by each segment in a separate argument
@@ -63,7 +66,7 @@ cursor.execute("""
6366
arg_2 = 5,
6467
arg_3 = 15)
6568
for column_1, column_2, column_3 in cursor:
66-
print "Values:", column_1, column_2, column_3
69+
print("Values:", column_1, column_2, column_3)
6770

6871

6972
For more examples, please see the test suite in the test directory and the
@@ -73,5 +76,5 @@ cx_PyOracleLib (http://cx-pyoraclelib.sourceforge.net) projects.
7376

7477
For further information see
7578

76-
http://cx_oracle.readthedocs.org
79+
http://cx-oracle.readthedocs.io
7780

0 commit comments

Comments
 (0)