[Distutils] 70 packages in total use setuptools' "extras" feature

Attila Oláh attilaolah at gmail.com
Thu Dec 3 21:53:05 CET 2009


Wouldn't it require zope.component to be a namespace package? Extras
allw you to add extra files (subpackages) withot making the container
package a namespace-package, it seems to me.

On 12/3/09, Ian Bicking <ianb at colorstudy.com> wrote:
> On Thu, Dec 3, 2009 at 1:05 PM, P.J. Eby <pje at telecommunity.com> wrote:
>> At 10:21 AM 12/3/2009 -0800, Sridhar Ratnakumar wrote:
>>>
>>>  Do you have anything particular in mind? What I did was a ``grep
>>> "^.*[a-zA-Z]\["`` in the requires.txt of (almost) all the packages in
>>> PyPI.
>>
>> Do note that this won't tell you about end users' use of extras.
>>
>> The main use case described in the documentation for extras is allowing
>> users to install optional support for things.  That means you're more
>> likely
>> to see them in buildout configurations (which won't be found on PyPI), and
>> manual installation steps (which aren't recorded anywhere).
>
> Incidentally, I never got around to implementing extras in pip, and no
> one has asked about it so far.  (Though I guess pip generally
> encourages people handle transitive dependencies explicitly; i.e., if
> you want zope.component with zcml, then install zope.component and
> zope.component.zcml.)
>
>
> --
> Ian Bicking  |  http://blog.ianbicking.org  |
> http://topplabs.org/civichacker
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>

-- 
Sent from my mobile device


More information about the Distutils-SIG mailing list