On 1/12/06, Jorge Godoy <[EMAIL PROTECTED]> wrote:
>
> Kevin Dangoor <[EMAIL PROTECTED]> writes:
>
> > Strangely, I don't get this error. check your config files and try
> > using absolute paths (at least temporarily) in there.
>
> It worked, but then I'll have troubles changing files from one machine to the
> other, since paths are different... :-(
>
> I can live with that (if it is temporarily I promess I'll try not bothering
> with this subject again ;-)).
Which config file did you change? (I'm puzzled as to why I didn't see
this problem...)
Anyhow, with our new pythonic config files, the static directory
reference can change to
os.path.abspath(pkg_resources.resource_filename("mypackage", "static"))
which works in development and when you deploy an egg. Yay, Python!
Kevin