On Wed, 20 Jun 2007 23:36:56 -0400 "Deji Akingunola" <[EMAIL PROTECTED]> wrote:
> Hi, 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.. import sys; print (sys.prefix + '/lib/python' + sys.version[:3] + '/site-packages/') would return "/usr/lib/python2.5/site-packages" here. Hardcoding lib would of course be replaced what you allready suggested. _______________________________________________ Exaile-devel mailing list [email protected] http://exaile.org/mailman/listinfo/exaile-devel
