[Distutils] install_recommends proposal

Marius Gedminas marius at pov.lt
Thu Sep 27 00:38:24 CEST 2007


On Wed, Sep 26, 2007 at 10:38:49PM +0200, Martijn Faassen wrote:
> I understand how the name "install_recommends" could be confusing 
> terminology

Yes it is

> given the way package managers use the term 'recommended 
> packages', which means extra that you could install too to get more 
> features. "install_prefers" instead?
> 
> An alternative would be to expand the syntax of install_requires and 
> extra_require to allow the recommended version number hint. Something 
> like this:
> 
> install_requires = [
>     'foo (1.2.1)',
>     'bar >= 1.3 (1.3.2)',
>    ]

A really human-readable version would be:

  install_requires = [
      'foo (prefer 1.2.1)',
      'bar >= 1.3 (prefer 1.3.2)',
     ]

Marius Gedminas
-- 
Perl is hard for most people to write. They write PERL or Pearl.
        -- Abigail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.python.org/pipermail/distutils-sig/attachments/20070927/52165d6a/attachment.pgp 


More information about the Distutils-SIG mailing list