Re: [cx-oracle-users] cx-oracle reverse engineer msi - or msi alternative?
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2010-08-18 16:58:34
|
On Wed, Aug 18, 2010 at 9:40 AM, Mark McMahon <mar...@au...> wrote: > Hi, > > > > One trick might be to run something like > > Msiexec.exe cx_oracle.msi targetdir=c:\some\directory > > On another machine > > > > That should get you the files in the MSI - you could then maybe > modify/re-create the setup.py script? (or get it and modify it from source > distribution?), and use python setup.py install > > > > The above is ‘possible’ though may not be the ‘right’ solution. > > > > Hmm – I just looked in my site-packages folder – and it seems that cx_Oracle > is in a pyd file (and no py files or package) (I never realized). > > If I am right – then in that case you just need to copy cx_Oracle.pyd into > the python\lib\site-packages directory on each machine. (assuming you have > Oracle etc required). You are correct. Simply copy the cx_Oracle.pyd file into some place in your PYTHONPATH and you are good to go so long as you already have an Oracle client of some sort on your machine. Anthony |