• Godefroid Chapelle's avatar
    Problem: there is no support for `Requires-Python` · dcdc34d1
    Godefroid Chapelle authored
    Solution: monkeypatch `setuptools.packageIndex`
    with code from `pip._internal`.
    
    Because it depends on `pip._internal`, it is fragile.
    As a first defense against breakage, imports are protected.
    In case they would fail, buildout still works.
    dcdc34d1
testing.py 21.1 KB