Hi,

Samuli Suominen wrote, On 21/06/2007 2:01 PM:
> Another thing I've been worrying about is location of .py files, soon
> to be also .pyc and .pyo since /usr/share is reserved for just that,
> sharing among other systems which may not be even same architehture,
> operating system, python version, .. you name it. Maybe something like
> this could be used to determine site-packages location..

pyc/pyo files are arch-independent.  I have no idea whether these
bytecode files are backwards- and forwards-compatible, but even if
they're not, Python falls back to the py files anyway.  The only
advantage of using site-packages is that for each python version you
have there can be a compiled version of the modules.

Cheers,
Johannes

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Exaile-devel mailing list
Exaile-devel@exaile.org
http://exaile.org/mailman/listinfo/exaile-devel

Reply via email to