[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to make python package binNMU-safe [Bug#361940: python-mysqldb: can't be binNMUed due to arch: all -> arch: any dep]



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.

Any idea on how to nicely fix that ?

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/



Reply to: