Re: How to package a single Python file?
On Sun, Aug 31, 2003 at 03:32:17PM +0300, Lars Wirzenius wrote:
> Lodju needs to read the EXIF headers in image files. These are headers
> that a digital camera adds to a JPEG and contain information about, say,
> when the photograph was taken, and details about the exposure. I use
> Gene Cash's EXIF.py for reading them. It is a single pure Python module.
> I'm wondering how to package it for Debian.
>
> The easy solution is to include it in Lodju, but that mixes my code and
> foreign code, and is not very elegant. It is also not good for those who
> also would like to use EXIF.py in their own programs.
>
> I could put EXIF.py in its own package, but it feels silly to make a
> separate package for a single file. This is, however, what I'll be doing
> unless someone suggest a better option.
If I were you, I'd put it in lodju and wait for someone
else to start using it -- you can always split it out when
it is needed.
--
:(){ :|:&};:
Reply to: