Philippe C. Martin wrote:
Hi,

I am using my own install script for my software and am looking for a
flawless way to figure out where python, and more specifically
site-packages is installed.

You can take a look at how this is done in Lib/site.py.

Look for the bit of code that starts with

prefixes = [sys.prefix]
sitedir = None # make sure sitedir is initialized because of later 'del'
...

etc.

--
Vincent Wehren



Any clue ?

Regards,

Philippe



--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to