Re: PyXML installation in Zope2.8.5
Sudesh Soni <[email protected]> Thu, 19 Nov 2009 18:40:34 -0800 (PST)
| Newsgroups | gmane.comp.python.xml |
|---|---|
| Message-ID | <[email protected]> |
--===============0161927001== Content-Type: multipart/alternative; boundary="0-1902439085-1258684834=:44784" --0-1902439085-1258684834=:44784 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Dieter. I will try this.=0A=0AWith regards=0ASudesh=0A=0A=0A=0A=0A__= ______________________________=0AFrom: Dieter Maurer <[email protected]>= =0ATo: Sudesh Soni <[email protected]>=0ACc: [email protected]=0ASent: Th= u, November 19, 2009 2:14:28 AM=0ASubject: Re: [XML-SIG] PyXML installation= in Zope2.8.5=0A=0ASudesh Soni wrote at 2009-11-18 08:14 -0800:=0A>Thanks D= ieter, =0A>=0A>Other than gzip file and I=A0could find=A0an exe for PYXML i= nstallation , but the problem is that, during installation=A0it cannot loca= te the python2.3 that is in zope 2.8 itself, instead it looks in the window= s registry.=0A>Suggest.=0A=0AI am sure there is a workaround. Unfortunately= , I am no Windows expert...=0A=0AUnder *nix, I have seen a similar situatio= n and approached it as follows:=0A=0A=A0 Situation: Operating system distri= butions often come with their own=0A=A0 python package and associated exten= sion packages. Their package management=0A=A0 makes it often far more easy = to install an OS package than=0A=A0 generate a Python package by hand (at l= east before "easy_install" and PyPI).=0A=0A=A0 Approach: Install via the op= erating system package management=0A=A0 and then copy the files and directo= ries over to the Python installation=0A=A0 you need them in. Of course, thi= s requires that the OS Python=0A=A0 is similar enough to the target Python.= =0A=0AI do not know where the standard Python is installed under Windows.= =0ABut, the registry should tell you.=0AThe relevant directory contains pro= bably some=0A"\lib\python<version>\site-packages". ("\lib\python<version>" = might be missing=0Aunter Windows). There subdirectories containing "xml" ar= e relevant=0Aand need to be copied to the target Python installation.=0A=0A= =0AProbably, there is an easier approach. I expect (but am not sure)=0Athat= the installer can be told via a parameter to use a secondary=0APython inst= allation. Look whether you can find installation instructions.=0AOr try typ= ical ways to determine what parameters can be provided=0Ato an executable (= "<exe> /help", "<exe> /h", or similar).=0A=0A=0A=0A-- =0ADieter=0A=0A=0A=0A= --0-1902439085-1258684834=:44784 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he= ad><body><div style=3D"font-family:times new roman, new york, times, serif;= font-size:12pt"><DIV>Thanks Dieter. I will try this.</DIV>=0A<DIV> </D= IV>=0A<DIV>With regards</DIV>=0A<DIV>Sudesh<BR></DIV>=0A<DIV style=3D"FONT-= FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><BR>=0A<D= IV style=3D"FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px"><FO= NT size=3D2 face=3DTahoma>=0A<HR SIZE=3D1>=0A<B><SPAN style=3D"FONT-WEIGHT:= bold">From:</SPAN></B> Dieter Maurer <[email protected]><BR><B><SP= AN style=3D"FONT-WEIGHT: bold">To:</SPAN></B> Sudesh Soni <soni_sks@yaho= o.com><BR><B><SPAN style=3D"FONT-WEIGHT: bold">Cc:</SPAN></B> xml-sig@py= thon.org<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Thu, Nove= mber 19, 2009 2:14:28 AM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Subject:</= SPAN></B> Re: [XML-SIG] PyXML installation in Zope2.8.5<BR></FONT><BR>Sudes= h Soni wrote at 2009-11-18 08:14 -0800:<BR>>Thanks Dieter, <BR>><BR>&= gt;Other than gzip file and I could find an exe for PYXML install= ation , but the problem is that, during installation it cannot locate = the python2.3 that is in zope 2.8 itself, instead it looks in the windows r= egistry.<BR>>Suggest.<BR><BR>I am sure there is a workaround. Unfortunat= ely, I am no Windows expert...<BR><BR>Under *nix, I have seen a similar sit= uation and approached it as follows:<BR><BR> Situation: Operating system distributions often com= e with their own<BR> python package and associated extension packages= . Their package management<BR> makes it often far more easy to instal= l an OS package than<BR> generate a Python package by hand (at least = before "easy_install" and PyPI).<BR><BR> Approach: Install via the op= erating system package management<BR> and then copy the files and dir= ectories over to the Python installation<BR> you need them in. Of cou= rse, this requires that the OS Python<BR> is similar enough to the ta= rget Python.<BR><BR>I do not know where the standard Python is installed un= der Windows.<BR>But, the registry should tell you.<BR>The relevant director= y contains probably some<BR>"\lib\python<version>\site-packages". ("\= lib\python<version>" might be missing<BR>unter Windows). There subdir= ectories containing "xml" are relevant<BR>and need to be copied to the target Python installation.<BR><BR><BR>Probably, there is an easier ap= proach. I expect (but am not sure)<BR>that the installer can be told via a = parameter to use a secondary<BR>Python installation. Look whether you can f= ind installation instructions.<BR>Or try typical ways to determine what par= ameters can be provided<BR>to an executable ("<exe> /help", "<exe&= gt; /h", or similar).<BR><BR><BR><BR>-- <BR>Dieter<BR></DIV></DIV><!-- cg22= .c1.mail.mud.yahoo.com compressed/chunked Thu Nov 19 18:34:41 PST 2009 --><= /div><br>=0A=0A </body></html> --0-1902439085-1258684834=:44784-- --===============0161927001== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ XML-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/xml-sig --===============0161927001==--