Re: [jokosher-devel] Extensions



On Tue, Oct 10, 2006 at 10:34:24AM +0100, Stuart Langridge wrote:
> I have had a thought. Do we think it's worth having a special filetype
> for J extensions? My oh-so-clever run-an-extension-directly trick
> doesn't work with .egg files anyway, so I wonder whether we should
> just make both .py extensions and .egg extensions be called
> .jokosher-extension or similar. That has a few benefits:

A little snag. It doesn't work if the filename isn't .egg.
pkg_resources.working_set.add_entry() adds the filename to the list but
pkg_resources.iter_entry_points() won't come up with the goods. Maybe it
only looks at .egg files in the list. It was a good idea though.

-- 
John Green



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]