[Python-Dev] PEP 8 updates/clarifications

Barry Warsaw barry at python.org
Wed Dec 14 21:05:50 CET 2005


On Tue, 2005-12-13 at 12:00 -0500, Phillip J. Eby wrote:

> In any case, the algorithms involved are near-trivial; the most complex 
> piece is the processing of complex version specifications like 
> "CherryPy>=2.1.0,!=2.1.1-rc2,<2.2a" into a series of version intervals.
> 
> The only outstanding feature request for the dependency resolution 
> algorithm is supporting optional or replaceable dependencies such as "we 
> need either scipy *or* Numeric".

You might look at Gentoo's portage system and its package dependencies
for a model here.  I think they have a notion of "virtual" packages,
such as "mta" or "X" which various specific packages such as sendmail,
postfix, X11 or xorg can fulfill.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20051214/1a13766c/attachment.pgp


More information about the Python-Dev mailing list