Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #84858 > unrolled thread

Installling ADODB on an offline computer

Started byAlan Meyer <ameyer2@yahoo.com>
First post2015-01-29 20:35 -0500
Last post2015-01-30 11:38 -0500
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Installling ADODB on an offline computer Alan Meyer <ameyer2@yahoo.com> - 2015-01-29 20:35 -0500
    Re: Installling ADODB on an offline computer bkline@rksystems.com - 2015-01-30 06:45 -0800
      Re: Installling ADODB on an offline computer Alan Meyer <ameyer2@yahoo.com> - 2015-01-30 11:38 -0500

#84858 — Installling ADODB on an offline computer

FromAlan Meyer <ameyer2@yahoo.com>
Date2015-01-29 20:35 -0500
SubjectInstallling ADODB on an offline computer
Message-ID<54CADFE8.8080505@yahoo.com>
I work on an application that uses the ActivePython compilation of 
Python from ActiveState.  It uses three Microsoft COM libraries that are 
needed for talking to SQL Server.  The libraries are:

     Microsoft Activex Data Objects
     Microsoft Activex Data Objects Recordset
     Microsoft ADO Ext

In the past, we have installed those libraries on numerous machines by 
running makepy.py.  It can be done from the ActivePython IDLE GUI, or 
from the command line.  makepy.py downloads and installs the packages 
for us, taking care of COM server or client registration, or whatever it 
is that has to be done (I don't really know much about this stuff.)

Now I've been asked to port the application to a computer that is not 
connected to the Internet.  I haven't found any way to get those 
packages.  I haven't found a way to, for example, download the packages 
to files, place the files on the target computer, and run makepy.py or a 
setup.py to install them.

Can someone suggest a way to do it?

Thank you very much.

     Alan

[toc] | [next] | [standalone]


#84888

Frombkline@rksystems.com
Date2015-01-30 06:45 -0800
Message-ID<ad0eecf8-c18a-4318-867d-1f6bb08bbd6e@googlegroups.com>
In reply to#84858
On Thursday, January 29, 2015 at 8:35:50 PM UTC-5, Alan Meyer wrote:
> I work on an application that uses the ActivePython compilation of 
> Python from ActiveState.  It uses three Microsoft COM libraries that are 
> needed for talking to SQL Server.  The libraries are:
> 
>      Microsoft Activex Data Objects
>      Microsoft Activex Data Objects Recordset
>      Microsoft ADO Ext
> 
> In the past, we have installed those libraries on numerous machines by 
> running makepy.py.  It can be done from the ActivePython IDLE GUI, or 
> from the command line.  makepy.py downloads and installs the packages 
> for us, taking care of COM server or client registration, or whatever it 
> is that has to be done (I don't really know much about this stuff.)
> 
> Now I've been asked to port the application to a computer that is not 
> connected to the Internet.  I haven't found any way to get those 
> packages.  I haven't found a way to, for example, download the packages 
> to files, place the files on the target computer, and run makepy.py or a 
> setup.py to install them.
> 
> Can someone suggest a way to do it?
> 
> Thank you very much.
> 
>      Alan

I don't think makepy.py needs to download anything. It's just extracting information from the registry about COM services which are available and building a Python wrapper around those services. I've used it successfully myself on a machine completely cut off from the outside world.

Cheers,
Bob

[toc] | [prev] | [next] | [standalone]


#84901

FromAlan Meyer <ameyer2@yahoo.com>
Date2015-01-30 11:38 -0500
Message-ID<magc0m$26e$1@dont-email.me>
In reply to#84888
On 01/30/2015 09:45 AM, bkline@rksystems.com wrote:
> On Thursday, January 29, 2015 at 8:35:50 PM UTC-5, Alan Meyer wrote:
>> I work on an application that uses the ActivePython compilation of
>> Python from ActiveState.  It uses three Microsoft COM libraries that are
>> needed for talking to SQL Server.  The libraries are:
>>
>>       Microsoft Activex Data Objects
>>       Microsoft Activex Data Objects Recordset
>>       Microsoft ADO Ext
>>
>> In the past, we have installed those libraries on numerous machines by
>> running makepy.py.  It can be done from the ActivePython IDLE GUI, or
>> from the command line.  makepy.py downloads and installs the packages
>> for us, taking care of COM server or client registration, or whatever it
>> is that has to be done (I don't really know much about this stuff.)
>>
>> Now I've been asked to port the application to a computer that is not
>> connected to the Internet.  I haven't found any way to get those
>> packages.  I haven't found a way to, for example, download the packages
>> to files, place the files on the target computer, and run makepy.py or a
>> setup.py to install them.
>>
>> Can someone suggest a way to do it?
>>
>> Thank you very much.
>>
>>       Alan
>
> I don't think makepy.py needs to download anything. It's just extracting information from the registry about COM services which are available and building a Python wrapper around those services. I've used it successfully myself on a machine completely cut off from the outside world.
>
> Cheers,
> Bob
>
Well, son of a gun.

Thanks Bob.

    Alan

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web