<p dir="ltr"><br>
On 6 Mar 2013 00:59, "PJ Eby" <<a href="mailto:pje@telecommunity.com">pje@telecommunity.com</a>> wrote:<br>
><br>
> On Mon, Mar 4, 2013 at 3:20 PM, Paul Moore <<a href="mailto:p.f.moore@gmail.com">p.f.moore@gmail.com</a>> wrote:<br>
> > On 4 March 2013 20:00, Daniel Holth <<a href="mailto:dholth@gmail.com">dholth@gmail.com</a>> wrote:<br>
> >> On Mon, Mar 4, 2013 at 2:41 PM, Paul Moore <<a href="mailto:p.f.moore@gmail.com">p.f.moore@gmail.com</a>> wrote:<br>
> >>> In thinking about how virtualenv would describe the packages it wants<br>
> >>> to preload in PEP 426 metadata form, it occurred to me that there are<br>
> >>> scenarios with setuptools and distribute where it's not obvious how to<br>
> >>> state the requirement you want. Specifically, if you want to install<br>
> >>> setuptools if it is present, but if not fall back to distribute (for<br>
> >>> example, if you have a local package repository and no access to PyPI,<br>
> >>> but setuptools may or may not be present).<br>
> > [...]<br>
> >><br>
> >> We do have Provides-Dist, although the best way to implement it is an<br>
> >> open question.<br>
> ><br>
> > Good point. So distribute would have "Provides-Dist: setuptools" and I<br>
> > could just require setuptools. Given that none of this is supported<br>
> > yet, I'm happy that the spec covers this case, but still need to work<br>
> > around it for the immediate future.<br>
><br>
> Provides-Dist doesn't actually work for most of the use cases for<br>
> alternates, though.  For example, if a package that wants to require<br>
> one of the various mysql adapters, it doesn't make any sense for the<br>
> mysql packages to declare that they provide each other.  ;-)</p>
<p dir="ltr">The adapter developers just need to agree on a virtual provides they will all publish. Of course, that won't be effective without an entry points extension to get the adapters loaded in a consistent fashion.</p>

<p dir="ltr">Still, one step at a time :)</p>
<p dir="ltr">Cheers,<br>
Nick.</p>
<p dir="ltr">> _______________________________________________<br>
> Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/distutils-sig">http://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</p>