116 Commits

Author SHA1 Message Date
Anthony Tuininga
04f1904a7d Remove "unicode" mode and simply permit unicode to be used everywhere within
cx_Oracle; stop using "unicode" mode in the OCI as well since that appears to
have bugs in some places and doesn't really solve any problems anyway.
2011-02-19 03:50:16 +00:00
Anthony Tuininga
fb2e048851 Make AIX5 happy as OCIPing does not appear to be available on that platform
under Oracle 10g Release 2. Thanks to Pierre-Yves Fontaniere for the patch.
2011-01-01 05:07:20 +00:00
Anthony Tuininga
505018d577 Account for lib64 used on x86_64 systems. Thanks to Alex Wood for supplying the
patch.
2010-08-31 17:11:10 +00:00
Anthony Tuininga
03df2d9ede Preparing to release version 5.0.4. 2010-07-14 05:08:19 +00:00
Anthony Tuininga
8c3a69664f Provide a bit more information in the error message produced. 2010-07-08 15:01:59 +00:00
Anthony Tuininga
52d6cc88c3 Added support for building with Python 3.x from an independently created
setup.py (as for cx_OracleDBATools, for example).
2010-06-01 03:38:25 +00:00
Anthony Tuininga
fc87c1df60 Enable building from within other setup.py scripts like those in
cx_OracleTools, for example.
2009-12-05 22:59:34 +00:00
Anthony Tuininga
4b63f554a5 Added support for running the test suite by running python setup.py test. 2009-10-21 01:24:52 +00:00
Anthony Tuininga
37362824f5 Ensure that Windows installer files also include the unicode designation when
appropriate.
2009-10-19 19:29:31 +00:00
Anthony Tuininga
ab9ad78579 Added support for building "Unicode" builds independently of "normal" and get
ready for releasing these types of builds with any new release.
2009-10-11 04:33:25 +00:00
Anthony Tuininga
fbd53fcee3 The newer versions of the instant client now simply replace "lib" with
"include" in order to determine where the include files are to be found.
2009-09-26 22:11:36 +00:00
Anthony Tuininga
2741b72310 Preliminary work in releasing 5.0.3; documentation still needs to be built. 2009-09-15 04:28:34 +00:00
Anthony Tuininga
32eb81df40 The struct module needs to be defined as a global as well in order to make
building as part of another setup.py possible.
2009-08-25 03:17:12 +00:00
Anthony Tuininga
c8058c2b48 Added extra link arguments required for Mac OS X as suggested by Jason
Woodward.
2009-06-30 21:31:07 +00:00
Anthony Tuininga
e6484f98a2 Add support for searching lib32 or lib64 depending on whether the host is
32-bit or 64-bit. Thanks to Joe Shaw for the patch.
2009-06-24 16:12:45 +00:00
Anthony Tuininga
a31a9b3ad8 The 64-bit Windows instant client uses a different library directory than the
full client does.
2009-06-10 18:53:25 +00:00
Anthony Tuininga
a4a517ed4c Preparing to release version 5.0.2. 2009-05-19 04:15:41 +00:00
Anthony Tuininga
6751ce7e88 The actual location of the libraries is in the OCI subdirectory, not SDK. 2009-05-06 18:56:51 +00:00
Anthony Tuininga
aeb37e44fb Now that the library path is being calculated exactly there is no need to
include the lib subdirectory as before.
2009-04-30 02:09:21 +00:00
Anthony Tuininga
6d427015b3 Included the MSVC library path as requested by Jason Coombs. 2009-04-21 22:14:50 +00:00
Anthony Tuininga
97a951102d Preparing to release version 5.0.1. 2009-02-16 17:38:42 +00:00
Anthony Tuininga
78d619cfb6 Added initial support for database change notification. 2009-01-07 21:13:49 +00:00
Anthony Tuininga
622f33f911 Added additional classifiers to make it clear that cx_Oracle supports version 3
of Python as recommended by Amaury Forgeot d'Arc.
2008-12-15 15:02:19 +00:00
Anthony Tuininga
e123e93576 Preparing to release version 5.0. 2008-12-11 21:01:18 +00:00
Anthony Tuininga
ce74a5db5b Reorganized README.txt and added new file BUILD.txt based on an initial patch
from Corey Gaff.
2008-12-05 05:09:39 +00:00
Anthony Tuininga
d802a08e9b Calculate whether or not a 64-bit platform is in use properly. 2008-11-29 18:54:41 +00:00
Anthony Tuininga
231377127e Added support for interval day to second in Oracle, represented as Python
datetime.timedelta objects.
2008-11-25 15:59:16 +00:00
Anthony Tuininga
802fa9b617 Added additional link arguments for Cygwin as requested by Rob Gillen. 2008-10-29 00:24:11 +00:00
Anthony Tuininga
4d2a8c57de Dropped support for Python 2.3. 2008-10-16 04:19:14 +00:00
Anthony Tuininga
82747e408c Added support for establishing connections to Oracle using Unicode while
retaining support for establishing connections using ASCII strings.
2008-10-10 20:06:34 +00:00
Anthony Tuininga
c424a823a8 First cut at adding support for full unicode which is required by Python 3 but
the code is structured so that this can be done with Python 2.x as well if
desired; the only thing currently working is the determination of error
messages.
2008-10-10 04:18:05 +00:00
Anthony Tuininga
ad280fecc5 Make use of struct.calcsize rather than sys.maxint which is dropped in Python
3.0.
2008-10-04 03:29:40 +00:00
Anthony Tuininga
817186b16e Raise errors as instances of setup errors, not strings in order to provide
initial support for Python 3.0.
2008-10-02 17:28:23 +00:00
Anthony Tuininga
2737ae2f12 Clean up checking for platform and versions when checking for bdist_wininst and
bdist_msi - initial patch supplied by Amaury Forgeot d'Arc.
2008-10-02 17:09:47 +00:00
Anthony Tuininga
d1e5fa3737 Avoid overwriting the Oracle home value with None by the method that determines
if a valid Oracle home has been specified.
2008-09-29 14:29:11 +00:00
Anthony Tuininga
2938d07b35 Account for the situation where the directory passed in is the binary diretory
but the libraries are in a parallel directory.
2008-09-26 21:17:20 +00:00
Anthony Tuininga
33a2280ad1 Tweak setup.py to calculate the Oracle version and library directory up front
rather than during the actual build which allows correct specification of the
RPATH and clears up potential confusion since all of the code for checking such
things is now in one place.
2008-09-26 21:13:36 +00:00
Anthony Tuininga
edf5b6dd9a No need to reset the extraLinkArgs and doing so prevents simple modification
where desired as expressed by Christian Zagrodnick.
2008-08-28 13:49:10 +00:00
Anthony Tuininga
58c10b68ae Inital cut of support for DRCP and events mode as requested by Christopher
Jones.
2008-07-06 05:08:01 +00:00
Anthony Tuininga
93490d971d Removed support for Oracle 8i since Oracle support for it was dropped long
ago and adding support for Oracle 11g features would be very difficult
while attempting to retain Oracle 8i support.
2008-06-28 04:44:04 +00:00
Anthony Tuininga
a77bc411c6 Added proper detection for the instant client on Mac OS X as recommended by
Martijn Pieters.
2008-06-27 13:51:56 +00:00
Anthony Tuininga
c60c1fdf69 Ensure that in Python 2.3 and 2.4 the bdist_wininst command renames the target
as well as in Python 2.5.
2008-06-11 03:51:05 +00:00
Anthony Tuininga
2c07de41fd Preparing to release 4.4. 2008-06-06 15:31:18 +00:00
Anthony Tuininga
d11dcba0ea Attempt to use setuptools if possible and fall back to normal distutils if
setuptools is not found or installed.
2008-05-29 13:48:14 +00:00
Anthony Tuininga
e7dcdff522 Added line to make it easier to support setup tools if desired. 2008-05-28 20:46:00 +00:00
Anthony Tuininga
d32456f88d Fix support for packaging documentation after switching to reST format. 2008-05-28 20:43:47 +00:00
Anthony Tuininga
239b5a6695 Cygwin is on Windows so should be treated in the same way as noted by Matthew
Cahn.
2008-04-09 04:47:19 +00:00
Anthony Tuininga
99abfa0e4a Add support for recognizing the Oracle instant client and building with it;
modify the libraries used for locating an Oracle installation on Windows to
those libraries that are commonly found in the full client as well as the
instant client.
2008-03-26 14:53:12 +00:00
Anthony Tuininga
1cea81e08d Use the shared library libclntsh.so to determine which Oracle version is in use
rather than the static client libraries which are not shipped with Oracle XE
or the instant client; thanks to Catherine Devlin for pointing this out and
providing an initial patch. In addition, allow for the situation where the
instant client is installed as Linux RPMs which use different locations than
the standard client in that situation.
2007-10-13 03:01:33 +00:00
Anthony Tuininga
1d057bcd5f Remove duplicate keyword argument. 2007-10-02 22:40:45 +00:00