HAP-python
HAP-python copied to clipboard
Can't use HAP-python[QRCode] in install_requires in setup.py
More specifically, you may use it, but it is ignored (and only HAP-python is installed).
I'm hoping there is a syntax to fix it, but in case anyone else has the same issue...
Hmm:
Ignoring pyqrcode: markers 'extra == "QRCode"' don't match your environment
Ignoring base36: markers 'extra == "QRCode"' don't match your environment
I guess that has something to do with it. That syntax should work in install_requires.
Hmm. I'm seeing the same issue when attempting to:
pip install HAP-python[QRCode]
Happening on at least two different machines.
Strange. I can replicate it. However installing it locally form source works without issues:
pip install -e .[QRCode]
Does upgrading pip change anything for you?
I can also replicate this. I did upgrade pip to latest (19.0.3), but the same happened. I tried this with python 3.7 and 3.6, macOS and raspbian.
I found this: https://github.com/pypa/pipenv/issues/3026, which is referenced in several places, but I am not sure that this is the same issue.