[Distutils] How to declare optional dependencies?

2016-02-05 Thread Brett Cannon
Maybe I'm totally overlooking something or misreading the docs, but I can't find a way to say in a requirements.txt file that a dependency is optional and its failure to install is okay. E.g., aiohttp supports using cchardet as an accelerator of chardet (

Re: [Distutils] How to declare optional dependencies?

2016-02-05 Thread Nathaniel Smith
I don't think you're overlooking anything. A recent thread: https://mail.python.org/pipermail/distutils-sig/2015-December/027944.html My comment there: https://mail.python.org/pipermail/distutils-sig/2015-December/027946.html -n On Fri, Feb 5, 2016 at 10:52 AM, Brett Cannon

Re: [Distutils] How to declare optional dependencies?

2016-02-05 Thread Nick Coghlan
On 6 February 2016 at 04:52, Brett Cannon wrote: > Maybe I'm totally overlooking something or misreading the docs, but I can't > find a way to say in a requirements.txt file that a dependency is optional > and its failure to install is okay. E.g., aiohttp supports using cchardet