Em Qua, 2006-04-12 às 20:05 +0200, Raphael Hertzog escreveu: > On Thu, 13 Apr 2006, Sanghyeon Seo wrote: > > > It should install modules somewhere inside > > > /usr/lib/python/site-packages/ and use #!/usr/bin/python for > > > programs. The postinst script should create symlinks in all > > > /usr/lib/pythonX.Y/site-packages/ directories that point to its > > > /usr/lib/python/site-packages/ files and compile them. > > > > You can do this with python-support today. See python-cherrypy package > > for an example. > > Interesting, but I think this will not work "out of the box" for packages > that should provide Python eggs. > > I just checked python-cherrypy and I noticed that it only provides > /usr/share/python-support/cherrypy/CherryPy-2.1.1-py2.3.egg-info > (there's no egg for python 2.4 version). It should provide both.
Hey! This doesn't seem to be a problem: [EMAIL PROTECTED]:~$ ls /var/lib/python-support/python2.4/CherryPy-2.1.1-py2.3.egg-info/ PKG-INFO SOURCES.txt top_level.txt [EMAIL PROTECTED]:~$ python2.4 Python 2.4.3 (#2, Mar 30 2006, 21:52:26) [GCC 4.0.3 (Debian 4.0.3-1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pkg_resources >>> pkg_resources.require ('CherryPy') [CherryPy 2.1.1 (/var/lib/python-support/python2.4)] >>> What I should do, I think, is remove 'py2.3.' from that name altogether. This seems to be a clean solution. See you, -- [EMAIL PROTECTED]: Gustavo Noronha <http://people.debian.org/~kov> Debian: <http://www.debian.org> * <http://www.debian-br.org>
signature.asc
Description: Esta é uma parte de mensagem assinada digitalmente