On Wed, 2 Apr 2003, Peter O'Gorman wrote: > Hi, > > Depending upon which version of python is installed, the modules will > go into a different place (/sw/lib/python-<VERSION>/site-packages).
Peter: Yes - this is true. > > Now, this is a problem for me, and I think I will have to make > numeric-py22 and pil-py22 packages in order for sketch to work without > having to answer a bunch of mails saying to install python-2.2 as > sketch will not work with python-2.3. This is doable. The only other way around this is to rebuild all python modules when you change python versions (i.e going from python22 to python23). Python bytecode is not compatible between python versions, so you can't in general use numeric compiled with python22 in python23 and vice-versa. > > So the question arises, do we need to do something similar for all > python modules? > i.e. have a bunch of package-py21 package-py22 package-py23 packages > for python modules? I sure hope not. I don't have the time to maintain all those variants. > > It would make them build the same .deb for all users regardless of what > the user has installed ( policy, I believe ). I know Debian has struggled with this as well - we should go look and see how they do it. Right now, rebuilding all modules when you change python versions is the only thing that works (and I agree it violates the letter of the law). Thanks for bringing this up Peter - I think it is an important issue. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449 325 Broadway Web : http://www.cdc.noaa.gov/~jsw Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
