Re: Python libraries portable?

2012-06-08 Thread Terry Reedy
On 6/8/2012 4:09 AM, Alister wrote: On Thu, 07 Jun 2012 20:20:47 +, jkells wrote: We are new to developing applications with Python. A question came up concerning Python libraries being portable between Architectures. More specifically, can we take a python library that runs on a X86 archi

Re: Python libraries portable?

2012-06-08 Thread Alister
On Thu, 07 Jun 2012 20:20:47 +, jkells wrote: > We are new to developing applications with Python. A question came up > concerning Python libraries being portable between Architectures. > More specifically, can we take a python library that runs on a X86 > architecture and run it on a SPAR

Re: Python libraries portable?

2012-06-07 Thread Tim Johnson
* Corey Richardson [120607 17:01]: > On Thu, 7 Jun 2012 16:43:26 -0800 > Tim Johnson wrote: > > > So what to do if I can't install from the command line? > > I could use python's external command tools like > > subprocess.call(), but am not sure what the implications would be > > since

Re: Python libraries portable?

2012-06-07 Thread Corey Richardson
On Thu, 7 Jun 2012 16:43:26 -0800 Tim Johnson wrote: > So what to do if I can't install from the command line? > I could use python's external command tools like > subprocess.call(), but am not sure what the implications would be > since privileges might be limited. > https://github.co

Re: Python libraries portable?

2012-06-07 Thread Tim Johnson
* Corey Richardson [120607 15:20]: > On Thu, 7 Jun 2012 15:09:36 -0800 > Tim Johnson wrote: > > > Does this mean that I could copy my MySQLdb module directly from > > my workstation via ftp to a server, and have it work, given that > > sys.path contained the path? > > > > No, absolutely

Re: Python libraries portable?

2012-06-07 Thread Corey Richardson
On Thu, 7 Jun 2012 15:09:36 -0800 Tim Johnson wrote: > Does this mean that I could copy my MySQLdb module directly from > my workstation via ftp to a server, and have it work, given that > sys.path contained the path? > No, absolutely not. MySQLdb is a C extension. Assuming same architec

Re: Python libraries portable?

2012-06-07 Thread Tim Johnson
* Corey Richardson [120607 14:19]: > On Thu, 07 Jun 2012 20:20:47 GMT > jkells wrote: > > > We are new to developing applications with Python. A question came > > up concerning Python libraries being portable between > > Architectures.More specifically, can we take a python library > > tha

Re: Python libraries portable?

2012-06-07 Thread Corey Richardson
On Thu, 07 Jun 2012 20:20:47 GMT jkells wrote: > We are new to developing applications with Python. A question came > up concerning Python libraries being portable between > Architectures.More specifically, can we take a python library > that runs on a X86 architecture and run it on a SPARC

Python libraries portable?

2012-06-07 Thread jkells
We are new to developing applications with Python. A question came up concerning Python libraries being portable between Architectures.More specifically, can we take a python library that runs on a X86 architecture and run it on a SPARC architecture or do we need to get the native librarie