[Distutils] Symlinks vs API -- question for developers

Josselin Mouette joss at debian.org
Tue Oct 21 14:19:38 CEST 2008


Le mardi 21 octobre 2008 à 12:18 +1300, Greg Ewing a écrit :
> Josselin Mouette wrote:
> 
> > Then, you need to flag your icons; this is what you already proposed, in
> > a more sophisticated way.
> >         foo.png: icon size="48x48" category="apps"
> >         foo.svg: icon size="scalable" category="apps"
> 
> This smells like overdesign to me. Unless you want to allow
> for the possibility of e.g. putting your 48x48 icons in
> one location and icons of other sizes in a different
> location -- which seems rather unlikely -- then
> distinguishing between resources at this level of detail
> is not something the API we're considering should be
> concerned with.

Unless you want to be able to follow existing standards.

http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#directory_layout

The same goes for localisation tiles, for which there is a similar
directory scheme to follow. 

Cheers,
-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20081021/170b3e41/attachment.pgp>


More information about the Distutils-SIG mailing list