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 <br...@python.org> 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 as > an accelerator of chardet > (http://aiohttp.readthedocs.org/en/stable/#library-installation). I would > like to be able to specify in my requirements.txt that I would like cchardet > to be installed if possible, but it not being available -- which it might be > as it doesn't have any Python 3.5 wheels ATM -- is fine and not the end of > the world. > > I'm also happy to push a patch upstream if there is something aiohttp should > be setting in their setup.py instead (I thought maybe extras, but those seem > to be hard requirements as well). > > _______________________________________________ > Distutils-SIG maillist - Distutils-SIG@python.org > https://mail.python.org/mailman/listinfo/distutils-sig > -- Nathaniel J. Smith -- https://vorpus.org _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig