Re: [PyWrapper-devel] Libraries distribution in PyWrapper
Status: Alpha
Brought to you by:
jatorre
From: <m.d...@BG...> - 2006-08-02 11:08:32
|
Javi, you are perfectly right. its getting horrible. Actually Ive already bundled a library with pywrapper. Everything under = lib which is not biocase/ is external stuff. So we should go through the required libs and if they do not need to be = compiled, so if they are pure python, we can simply add them to our lib = folder! But=20 > 1)PyXML > 2)mxDateTime > 3)CherryPy need to be compiled for sure with > 4)elementtree > 5)kid and your additional ones we need to check. SOAPpy for example I think is pure python. In case users have these libraries installed in their system, we might = get into trouble. But if we make sure (which I think is the case already!) that our lib = path comes before the regular system lib path in sys.path, then our libs = will be imported. For example: http://search.biocase.org/tapir/configtool/environment shows our loib folder before the others: ['/home/biocase/tapir/lib/biocase/..', '/home/biocase/tapir/lib', = '/home/biocase/tapir/webapp', '/usr/lib/python24.zip', = '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', = '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', = '/usr/local/lib/python2.4/site-packages', = '/usr/lib/python2.4/site-packages', = '/usr/lib/python2.4/site-packages/setuptools-0.6a7-py2.4.egg', = '/usr/lib/python2.4/site-packages/kid-0.9-py2.4.egg', = '/usr/lib/python2.4/site-packages/wsgiref-0.0.1-py2.4.egg'] For the compiled libs I would suggest: 1) create a compiled version for windows 2) include the source installers in our package, so people dont have to = go and look for the right version. With mx.DateTime we need to get in touch with eGenix. I know they dont = like the idea in general (they've been contacting me during biocase = times). But if we dont use the entire mxEgenixBase package, but only = mxDateTime, they might be OK. it comes with linux distributions anyways. Does this work for you? -- Markus =20 > -----Urspr=FCngliche Nachricht----- > Von: pyw...@li...=20 > [mailto:pyw...@li...] Im=20 > Auftrag von Javier privat > Gesendet: Mittwoch, 2. August 2006 12:24 > An: PyWrapper Developers mailing list > Betreff: [PyWrapper-devel] Libraries distribution in PyWrapper >=20 > Hi, >=20 > I was wondering if we could change a bit our strategy for=20 > deploying PyWrapper. Right now to install it you have to install: >=20 > 1)PyXML > 2)mxDateTime > 3)CherryPy > 4)elementtree > 5)kid >=20 > Then you probably will also need: >=20 > 6) libxml2 > 7) a database module >=20 > and finally if you want BioMOBY support now I will also be requiring: >=20 > 8) fpconst > 9) SOAPpy > 10) BioMOBY Python >=20 > This is getting a little bit horrible to install. I think=20 > most of these libraries, I think actually all, can be legally=20 > redistributed with other software so I was wondering if we=20 > could not embed everything into PyWrapper. >=20 > Well, I know there are some problems. Some of these libraries=20 > need to be compiled in unix and therefore installation is=20 > needed. But in Windows we might be able to distribute them=20 > already compiled. In the case of unix we can at least include=20 > them in the package and provide an installer that install all=20 > of them into our external_lib directory. >=20 > We can have something like /lib/external_lib folder where we=20 > include all this stuff. Do you know what happens if we=20 > install a certain version of a library there and the user has=20 > already the same library installed on his python? Which one=20 > will take preference? >=20 > And there is still the open issue of which library to use for xslt... > we are not happy with none of them and they are all difficult=20 > to install in mac os x. Any ideas? >=20 > Cheers. >=20 > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT Join=20 > SourceForge.net's Techsay panel and you'll get the chance to=20 > share your opinions on IT & business topics through brief=20 > surveys -- and earn cash=20 > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge &CID=3DDEVDEV > _______________________________________________ > PyWrapper-devel mailing list > PyW...@li... > https://lists.sourceforge.net/lists/listinfo/pywrapper-devel >=20 |