This line (one of three in setup.py) causes a python version of 2.7.12 to be "less than" 2.7.9:
+ extras_require['tls'].append("wincertstore>=0.2 ; python_full_version < '2.7.9'")
which then can cause this error:
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires' warnings.warn(msg) error in pymongo setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
- is caused by
-
PYTHON-2040 Support PyOpenSSL
- Closed
- is related to
-
PYTHON-1542 Consider using PEP 508 environment markers with extras_require
- Closed