[Python-modules-team] python2.5 specific file

Piotr Ożarowski piotr at debian.org
Mon May 5 18:45:24 UTC 2008


[Luciano Bello, 2008-05-04]
> El Sáb 03 May 2008, Piotr Ożarowski escribió:
> > Try to install this file to /usr/lib/python-support/python2.5/site-packages
> 
> The problem is that the package now depends of python2.5 and not runs in 
> python2.4

yeah, python-support generates something like:

 Depends: python (<< 2.6), python (>= 2.5), python-support (>= 0.7.1)
 Python-Version: 2.5

and to be honest, you will have to change it by hand

 Depends: python, python-support (>= 0.6.4)

should be enough

> $ python2.5
> Python 2.5.2 (r252:60911, Apr 27 2008, 11:46:35)
> [GCC 4.2.3 (Debian 4.2.3-3)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import buzhug

yup

> $python2.4
> Python 2.4.5 (#2, Apr 17 2008, 13:00:52)
> [GCC 4.2.3 (Debian 4.2.3-3)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import buzhug
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named buzhug
> >>>

works fine here (I used files from our SVN repository)

> The files installed by the package are:
> /usr/share/python-support
> /usr/share/python-support/python-buzhug
> /usr/share/python-support/python-buzhug/buzhug
> /usr/share/python-support/python-buzhug/buzhug/buzhug.py
> /usr/share/python-support/python-buzhug/buzhug/buzhug_algos.py
> /usr/share/python-support/python-buzhug/buzhug/__init__.py
> /usr/share/python-support/python-buzhug/buzhug/buzhug_server.py
> /usr/share/python-support/python-buzhug/buzhug/buzhug_files.py
> /usr/share/python-support/python-buzhug/buzhug/SimpleAsyncHTTPServer.py
> /usr/share/python-support/python-buzhug/buzhug/buzhug_client.py
> /usr/share/python-support/python-buzhug/buzhug/buzhug_test.py
> /usr/share/python-support/python-buzhug/buzhug-1.1.egg-info
> /usr/lib
> /usr/lib/python-support
> /usr/lib/python-support/python-buzhug
> /usr/lib/python-support/python-buzhug/python2.5
> /usr/lib/python-support/python-buzhug/python2.5/buzhug
> /usr/lib/python-support/python-buzhug/python2.5/buzhug/conversion_float.py

same .deb content here

> What am I doing wrong? Sorry for my ignorance...

dunno, it works on my machine

-- 
-=[     Piotr Ożarowski     ]=-
-=[ http://www.ozarowski.pl ]=-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20080505/1550e91b/attachment.pgp 


More information about the Python-modules-team mailing list