oracle / python-cx_Oracle

Python interface to Oracle Database now superseded by python-oracledb
https://oracle.github.io/python-cx_Oracle
Other
888 stars 361 forks source link

Consider providing standard python wheels instead of wininst executables #39

Closed jobec closed 7 years ago

jobec commented 7 years ago

For windows installations there are now only .exe packages available in PyPi. Please consider providing standard .whl packages instead.

This allows to install cx_Oracle with standard pip install commands on windows, without the need to download them manually, convert them with wheel convert path_to_package.exe and then install it with pip install.

cjbj commented 7 years ago

There are .whl packages for cx_Oracle 6, which is currently Beta. Try python -m pip install cx_Oracle --pre

jobec commented 7 years ago

Indeed, those are there for the Beta release. But I'm rather talking about the current stable version.

cjbj commented 7 years ago

There are no plans to provide them for cx_Oracle 5. The runtime dynamic linking of the ODPI-C layer used by cx_Oracle 6 is what makes wheels possible.

jobec commented 7 years ago

It's actually simple to provide them. Just run the command wheel convert path/to/exe.exe and it outputs a wheel.

anthony-tuininga commented 7 years ago

The problem is that wheels don't support multiple versions for the same platform, Python version and bits (32-bit/64-bit). Since cx_Oracle 5 and earlier have Oracle version to contend with as well, providing a wheel would limit support to one Oracle version, which I don't want to do! I discussed this with the wheel format maintainers and there are no plans to change this. With cx_Oracle 6, Oracle version is no longer an issue so wheels are now produced.