Author Jason.Vas.Dias
Recipients Jason.Vas.Dias, georg.brandl, r.david.murray
Date 2011-04-30.11:57:47
SpamBayes Score 0.00012226
Marked as misclassified No
Message-id <1304164668.55.0.688899223563.issue11946@psf.upfronthosting.co.za>
In-reply-to
Content
BTW, while I'm here :

Any advice on how to setup a truly multi-architecture python installation? 

I'm considering doing something like :

1. build same python source for both 32-bit and 64-bit, with
   64-bit installing /usr/lib/python-$V as /usr/lib64/python-$V  &
   32-bit installing /usr/lib/python-$V as /usr/lib32/python-$V

2. Replace /usr/bin/python with a shell script or program which does
   something like (in shell):
  
   #!/bin/sh
   if "`uname -m`" = i686 ; then # I'm in a 'setarch i686' env
      exec /usr/bin/32/python${0#python} $*
   else
      exec /usr/bin/python${0#python} $*
   fi

Any thoughts about / advice on doing something like this ?
History
Date User Action Args
2011-04-30 11:57:48Jason.Vas.Diassetrecipients: + Jason.Vas.Dias, georg.brandl, r.david.murray
2011-04-30 11:57:48Jason.Vas.Diassetmessageid: <1304164668.55.0.688899223563.issue11946@psf.upfronthosting.co.za>
2011-04-30 11:57:47Jason.Vas.Diaslinkissue11946 messages
2011-04-30 11:57:47Jason.Vas.Diascreate