On 30/01/10 20:02, Pietro Battiston wrote:
What I ignore is: is there some smarter (than [sys.prefix, sys.prefix +
'/local']) way to check possible _installed_ locations?
You're not _supposed_ to look in sys.prefix + '/local'. (i.e.
/usr/local) If you used a pure version of distutils, then everything
would fall straight into sys.prefix. However the Debian version has been
patched. You can simply install as follows and get everything to work
properly:
$ sudo python setup.py install --install-layout=deb
Now, all your files are installed as expected (i.e. into /usr instead of
/usr/local )
Also, instead of search in your python code for where to find your other
files, maybe do that work in a .sh file like Severin suggested?
Umang
--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org