Help with Distutils

Johan Svedberg johan at svedberg.pp.se
Thu May 13 14:39:03 EDT 2004


* Jorge Godoy <godoy at ieee.org>:
> On Qui 13 Mai 2004 13:14, Johan Svedberg wrote:
>
>> I just started playing around with Distutils and there is one thing I
>> could use some help with. I'm wondering if there is some convenient
>> way to access the directories where the data_files was installed?
>
> Could you explain when and why you are trying to do that?

Well, the reason is that I've told setup.py to install a bunch of
templates in <prefix>/share/myapp/templates/ and I want to make sure
that myapp can find these no matter what <prefix> is.

-- 
Johan Svedberg, johan at svedberg.pp.se, http://johan.svedberg.pp.se/



More information about the Python-list mailing list