<br clear="all">Hi,<br>
<br>
python-tz is built using the Python distutils mechanism.<br>
<br>
Starting from Python 2.6, the installation paths for distutils have<br>
changed. Instead of /usr/lib/pythonX.Y/site-<div id=":d8" class="ii gt">packages, the default has<br>
now changed to /usr/local.<br>
<br>
The packaging helpers (debhelper, dh, cdbs, python-support,<br>
python-central) will pick automatically these changes, or are being<br>
fixed to do so. However, python-tz seems to do some manipulations in<br>
the site-packages/ directory in its build process.<br>
<br>
To fix this issue, the recommended approach is to pass<br>
&quot;--install-layout=deb&quot; to the &quot;python setup.py&quot; invocation. This is<br>
already the default if you use dh - or migrate to dh, which is also<br>
recommended.<br>
<br>
When you do that, modules are installed in<br>
/usr/lib/python2.6/dist-packages instead of site-packages. You have<br>
then to either use a *-packages wildcard, or to use<br>
/usr/share/python/<a href="http://python.mk/" target="_blank">python.mk</a> which provides useful functions to<br>
manipulate these directories.<br>
<br>
Cheers,<br>
--<br>
<br>
 .&#39;&#39;`.      Josselin Mouette<br>
 : :&#39; :<br>
 `. `&#39;   “I recommend you to learn English in hope that you in<br>
   `-     future understand things”  -- Jörg Schilling<br>
<br>
<br>
<br>
<br>
<br>
</div><br>-- <br>gayatri<br>