prefix for installed scripts

Kim Kulak kkulak at shaw.ca
Wed May 5 19:37:40 EDT 2004


Hello,

I've run into a small problem with my first python program.

I'm writing this program on Debian Linux so python is installed in /usr 
and sys.prefix is '/usr'. I've written a setup.py script and installed 
my program and it's configuration data with prefix = '/usr/local'. It 
installs exactly where I want it, but when I run my program 'sys.prefix' 
is '/usr' (where python is installed) and not '/usr/local' (where my 
program is installed.

My question is: how do I find where _my_ program was installed?

TIA,
Kim

P.S.
Is anybody working on: "python setup.py uninstall" ?




More information about the Python-list mailing list