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

Reply via email to