Re: [PyWrapper-devel] Libraries distribution in PyWrapper
Status: Alpha
Brought to you by:
jatorre
From: Javier de la T. <ja...@gm...> - 2006-08-03 11:42:48
|
I have it ready... I have a simple installer using just the shell... I have put it under: http://www.pywrapper.org/PyWrapperInstaller.zip Uncompress it and adapt the line 10: ./configure --prefix=3D/Users/javi/workspace/temp/PyWrapper/python And adapt it to wherever you have uncompress the file (adapt only until python!!) What this package does is just with a single installer, install python 2.4 in a folder and then install all the other libraries on this python installation. It does not include PyWrapper at the moment, but is just for you to figure out. Then we have a totally controlled environment and a happy user becuase we haven't touched anything on their system.... It takes some time to install and compile everything but I have seen much worst installations :D It still have pending the installation of libxml and db modules, but I think we can figure out how to do this by asking th user which database is he going to use and asking for the folder where the shared libraries are. For Windows I think we dont have to worry about anything, the python installer in Windows is not compiling!! Is just copying the files, we will do the same. Is the same trick I did with the installer for BPS2. Cheers. On 8/3/06, "D=F6ring, Markus" <m.d...@bg...> wrote: > theres make and ant. ant is newer and more powerful (I think). > > the start_server.py script is like the shell script. > we can modify it to accept an optional port to run under, defaulting to 8= 080 or so. good idea! > > I still dont know how db_modules will work if they depend on the installa= tion of the target system. > I hope we dont ned to build python for windows ourselves. thats horrible,= it needs the commercial MS Visual C++ compiler. > http://uucode.com/texts/python-mingw/python-mingw.html > > cherrypy is needed for all webapps! > but you can run it behind mod_python (maybe thats broken now, but you sho= uld be able to) if you like. > > BTW, there a doc about embedding python in your application that I havent= read: > http://docs.python.org/ext/ext.html > > > -- Markus > > > > -----Urspr=FCngliche Nachricht----- > > Von: pyw...@li... > > [mailto:pyw...@li...] Im > > Auftrag von Javier privat > > Gesendet: Donnerstag, 3. August 2006 12:38 > > An: PyWrapper Developers mailing list > > Betreff: Re: [PyWrapper-devel] Libraries distribution in PyWrapper > > > > Ok, in Windows is clear, I think we should provide an > > installer that installs everything, python and all libraries. > > Aditionally will be nice to have a little interface to start > > and stop cherrypy server if they want to use it instead of > > their existing server. I like it because people can try > > things very fast without having to configure anything. > > > > For Mac I would treat it as Linux, it is enough to have to > > take care of two things! I was actually thinking on a > > configure file that looks for dependencies of the database > > modules and where you can pass as arguments the location of > > them. Then something like build that compiles python and all > > libraries in our own folder, not touching anything of the > > host machine. Me as a user I prefer to not have to touch my > > python to install pywrapper, I prefer that everything stays > > into one single folder that I can send to the trash when I > > want to uninstall. > > > > And then I would have a script to start cherrypy, like the > > start_server.py that we have but that is a shell script and > > that I can pass the port where I want the server to run in. > > > > Correct me, if I am wrong, will the config tool work outside > > of cherrypy? > > > > Cheers. > > > > PD: What is the difference/advantages of build and ant? > > > > On 8/3/06, "D=F6ring, Markus" <m.d...@bg...> wrote: > > > in java for sure. In python its modules. But I saw in > > CheeseShop that they call it packages as well. I will rename > > it, good choice! > > > > > > -- Markus > > > > > > > > > > -----Urspr=FCngliche Nachricht----- > > > > Von: pyw...@li... > > > > [mailto:pyw...@li...] Im Auftrag > > > > von Javier privat > > > > Gesendet: Mittwoch, 2. August 2006 21:56 > > > > An: D=F6ring, Markus > > > > Cc: PyWrapper Developers mailing list > > > > Betreff: Re: [PyWrapper-devel] Libraries distribution in PyWrapper > > > > > > > > In other software I have seen calling it "packages" > > > > > > > > Cheer.s > > > > > > > > On 02/08/2006, at 14:40, D=F6ring, Markus wrote: > > > > > > > > > So lets include a new directory called "installer" in > > the project. > > > > > If we dont like the name we can change it later, but I cant > > > > think of > > > > > any better right now. > > > > > I will add some of the libs already. But remember to > > only use the > > > > > source installers, never the comiled stuff. > > > > > > > > > > -- Markus > > > > > > > > > > > > > > >> -----Urspr=FCngliche Nachricht----- > > > > >> Von: pyw...@li... > > > > >> [mailto:pyw...@li...] Im > > > > Auftrag von > > > > >> D=F6ring, Markus > > > > >> Gesendet: Mittwoch, 2. August 2006 14:31 > > > > >> An: PyWrapper Developers mailing list; Javier privat > > > > >> Betreff: Re: [PyWrapper-devel] Libraries distribution in > > > > >> PyWrapper > > > > >> > > > > >> mx.DateTime alone is also open source. > > > > >> http://www.egenix.com/files/python/mxDateTime.html#Copyright > > > > >> > > > > >> their own kind of license, but I cant see any problem > > > > >> distributing > > > > >> it: > > > > >> http://www.egenix.com/files/python/mxLicense.html#Public > > > > >> > > > > >> > > > > >> -- Markus > > > > >> > > > > >> > > > > >>> -----Urspr=FCngliche Nachricht----- > > > > >>> Von: pyw...@li... > > > > >>> [mailto:pyw...@li...] Im > > > > >> Auftrag von > > > > >>> Javier privat > > > > >>> Gesendet: Mittwoch, 2. August 2006 12:24 > > > > >>> An: PyWrapper Developers mailing list > > > > >>> Betreff: [PyWrapper-devel] Libraries distribution in PyWrapper > > > > >>> > > > > >>> Hi, > > > > >>> > > > > >>> I was wondering if we could change a bit our strategy for > > > > deploying > > > > >>> PyWrapper. Right now to install it you have to install: > > > > >>> > > > > >>> 1)PyXML > > > > >>> 2)mxDateTime > > > > >>> 3)CherryPy > > > > >>> 4)elementtree > > > > >>> 5)kid > > > > >>> > > > > >>> Then you probably will also need: > > > > >>> > > > > >>> 6) libxml2 > > > > >>> 7) a database module > > > > >>> > > > > >>> and finally if you want BioMOBY support now I will also be > > > > >> requiring: > > > > >>> > > > > >>> 8) fpconst > > > > >>> 9) SOAPpy > > > > >>> 10) BioMOBY Python > > > > >>> > > > > >>> This is getting a little bit horrible to install. I > > think most > > > > >>> of these libraries, I think actually all, can be legally > > > > redistributed > > > > >>> with other software so I was wondering if we could not embed > > > > >>> everything into PyWrapper. > > > > >>> > > > > >>> Well, I know there are some problems. Some of these > > > > >> libraries need to > > > > >>> be compiled in unix and therefore installation is > > needed. But in > > > > >>> Windows we might be able to distribute them already > > > > >> compiled. In the > > > > >>> case of unix we can at least include them in the package > > > > >> and provide > > > > >>> an installer that install all of them into our external_lib > > > > >> directory. > > > > >>> > > > > >>> We can have something like /lib/external_lib folder where > > > > >> we include > > > > >>> all this stuff. Do you know what happens if we > > install a certain > > > > >>> version of a library there and the user has already the > > > > >> same library > > > > >>> installed on his python? Which one will take preference? > > > > >>> > > > > >>> 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 to > > > > >>> install in mac os x. Any ideas? > > > > >>> > > > > >>> Cheers. > > > > >>> > > > > >>> -------------------------------------------------------------- > > > > >>> ----------- > > > > >>> Take Surveys. Earn Cash. Influence the Future of IT Join > > > > >>> SourceForge.net's Techsay panel and you'll get the chance > > > > to share > > > > >>> your opinions on IT & business topics through brief > > > > surveys -- and > > > > >>> earn cash > > > > >>> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourcefo= rge > > > > >> &CID=3DDEVDEV > > > > >>> _______________________________________________ > > > > >>> PyWrapper-devel mailing list > > > > >>> PyW...@li... > > > > >>> https://lists.sourceforge.net/lists/listinfo/pywrapper-devel > > > > >>> > > > > >> > > > > >> -------------------------------------------------------------- > > > > >> ----------- > > > > >> Take Surveys. Earn Cash. Influence the Future of IT Join > > > > >> SourceForge.net's Techsay panel and you'll get the chance to > > > > >> share your opinions on IT & business topics through > > brief surveys > > > > >> -- and earn cash > > > > >> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourcefor= ge > > > > > &CID=3DDEVDEV > > > > >> _______________________________________________ > > > > >> PyWrapper-devel mailing list > > > > >> PyW...@li... > > > > >> https://lists.sourceforge.net/lists/listinfo/pywrapper-devel > > > > >> > > > > > > > > > > > > -------------------------------------------------------------- > > > > ----------- > > > > Take Surveys. Earn Cash. Influence the Future of IT Join > > > > SourceForge.net's Techsay panel and you'll get the chance > > to share > > > > your opinions on IT & business topics through brief > > surveys -- and > > > > earn cash > > > > 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 > > > > > > > > > > > > ---------------------------------------------------------------------- > > > --- Take Surveys. Earn Cash. Influence the Future of IT Join > > > SourceForge.net's Techsay panel and you'll get the chance to share > > > your opinions on IT & business topics through brief surveys -- and > > > earn cash > > > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEV > > > DEV _______________________________________________ > > > PyWrapper-devel mailing list > > > PyW...@li... > > > https://lists.sourceforge.net/lists/listinfo/pywrapper-devel > > > > > > > -------------------------------------------------------------- > > ----------- > > Take Surveys. Earn Cash. Influence the Future of IT Join > > SourceForge.net's Techsay panel and you'll get the chance to > > share your opinions on IT & business topics through brief > > surveys -- and earn cash > > 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 > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > PyWrapper-devel mailing list > PyW...@li... > https://lists.sourceforge.net/lists/listinfo/pywrapper-devel > |