[qmtest] [b,s]dist creation

Nathaniel Smith njs at pobox.com
Sat Sep 13 20:33:53 UTC 2003


On Sat, Sep 13, 2003 at 12:12:39PM -0400, Stefan Seefeld wrote:
> but __file__ tells you only about the module that uses it.
> The python module path however may be more or less unrelated to
> the path the data files are installed in ('/usr/local/share/' typically
> on unix).
> 
> I would assume that there is a much stronger relation among the paths
> of the qmtest executable and the data files than there is among the qm
> modules and the data files. Therefor, if we use '__file__', it should
> be that of the qmtest executable, not any module inside the qm package.

Yes, I meant the __file__ of the qmtest executable.

-- Nathaniel

-- 
Details are all that matters; God dwells there, and you never get to
see Him if you don't struggle to get them right. -- Stephen Jay Gould



More information about the qmtest mailing list