Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > using 2 different copies of same version of python side-by-side

Reply
Thread Tools

using 2 different copies of same version of python side-by-side

 
 
Fahd Khan
Guest
Posts: n/a
 
      01-08-2004
Hi everyone, I maintain a python utility packaged using py2exe on
Windows and I've found that I'm unable to test it on a machine that
has python installed. For months I've used coworker's machines to test
for missing-module bugs but that really slows down development.

Basically it's because there are 2 copies of the same version of
python running side-by-side: the installed release and one embedded
into the py2exe generated file. When the py2exe'd app imports modules
missing from the py2exe'd package, it grabs them from the system's
python lib folder. I have no idea how python even knows where the
system's lib folder is, I can't find it in the source.

Any advice for how to test a py2exe'd app? Or how to deal with the
same problem if I'm making a mini-python distribution (effbot news
reader style)? I'd like to switch to that so I can have a group of
installed utilities sharing the same modules.

~Fahd
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
running same script on same data on two different machines -->different result Christopher Brewster Python 5 11-14-2008 08:19 PM
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM
using different copies of same module Paul Lalli Perl Misc 3 11-03-2004 06:53 AM



Advertisments