[PATCH 1 of 3 RFC] mercurial: add python re2 bindings

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Dec 15 14:39:44 CST 2014



On 12/15/2014 12:35 PM, Matt Mackall wrote:
>>> > >and then mention it as
>>> > >recommendation in our package config and docs.
>> >
>> >I'm not exactly sure how to do this -- the extras_require stuff you
>> >mentioned seems to be setuptools only. The 'requires' that distutils
>> >supports doesn't appear to be PyPI aware. Did you have any other
>> >approaches in mind?
> I frankly have no idea what the difference is between
> setuptools/distutils/eggs/pip/whatnot, and I'm pretty sure I sleep
> better because of it. The 'extra_requires' thing is just what I found
> when googling for "optional dependency pypi" or somesuch, and not any
> arcana I actually possess.
>
> We should probably:
>
> - ask the PyPI community if something suitable exists
> - recommend it here:http://mercurial.selenic.com/wiki/Packaging
> - ping the Debian/Ubuntu/Redhat/Mac/Windows people about it
> - maybe add a hint message to setup.py if it's not found
> - mention it in debuginstall


I'm fairly sure real package system have a proper way to recommend a 
package (Debian has it for example). We can probably start with ensuring 
it is done in such tool first.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list