On Fri, Jan 15, 2010 at 22:36, wzabo...@elektron.elka.pw.edu.pl
<w.zabolo...@elka.pw.edu.pl> wrote:
> The problem is, that python-tz installs into /usr/share/pyshared

that's perfectly fine:

$ dpkg -L python-tz | grep pyshared
/usr/share/pyshared
/usr/share/pyshared/pytz
/usr/share/pyshared/pytz/tzfile.py
/usr/share/pyshared/pytz/tzinfo.py
/usr/share/pyshared/pytz/__init__.py
/usr/share/pyshared/pytz/reference.py
/usr/share/pyshared/pytz-2009p.egg-info
/usr/share/pyshared-data
/usr/share/pyshared-data/python-tz

$ ls -lR /usr/lib/python2.5/site-packages/pytz/
/usr/lib/python2.5/site-packages/pytz/:
total 60
lrwxrwxrwx 1 root root    36 Nov 19 19:37 __init__.py ->
/usr/share/pyshared/pytz/__init__.py
-rw-r--r-- 1 root root 30836 Nov 19 19:37 __init__.pyc
lrwxrwxrwx 1 root root    37 Nov 19 19:37 reference.py ->
/usr/share/pyshared/pytz/reference.py
-rw-r--r-- 1 root root  4927 Nov 19 19:37 reference.pyc
lrwxrwxrwx 1 root root    34 Nov 19 19:37 tzfile.py ->
/usr/share/pyshared/pytz/tzfile.py
-rw-r--r-- 1 root root  3277 Nov 19 19:37 tzfile.pyc
lrwxrwxrwx 1 root root    34 Nov 19 19:37 tzinfo.py ->
/usr/share/pyshared/pytz/tzinfo.py
-rw-r--r-- 1 root root 13916 Nov 19 19:37 tzinfo.pyc


> It seems that Python on my machine does not look for modules
> in this directory.
> I don't know if it is a problem specific to my machine, or common
> for all up to date debian/testing systems...

your system. try to reinstall python-tz, maybe also removing+purging
it before reinstall.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to