Hi all, I've got a problem with building wheels of logilab-common, due to the unittest2 requirement in __pkginfo__.py.
If I build logilab-common with Python 2.6, then the following code causes the compiled wheel to have unittest2 as a requirement. The wheel is tagged with "py2". if sys.version_info < (2, 7): install_requires.append('unittest2 >= 0.5.1') (http://www.logilab.org/revision/76088) Due to the wheel being tagged py2, if I try to install the wheel on a Python 2.7 system, then it ends up trying to install unittest2 unnecessarily. The reverse situation is also true, the wheel built with Python 2.7, doesn't have unittest2 as a requirement - so installing it on a 2.6 system ends up not installing unittest2. I'm not entirely sure what the solution might be. One approach would be to programmatically set the Python version in the tag: https://wheel.readthedocs.org/en/latest/#defining-the-python-version Thoughts? Regards, Phil
_______________________________________________ Python-Projects mailing list Python-Projects@lists.logilab.org https://lists.logilab.org/mailman/listinfo/python-projects