f804705 Sync patch 251 with Python 3.10+ on Fedora < 36

Authored and Committed by churchyard 2 years ago
    Sync patch 251 with Python 3.10+ on Fedora < 36
    
    Instruct pip to use distutils
    -----------------------------
    
    The current version of pip uses distutils on Python < 3.10,
    so this should change nothing,
    but future versions of pip may theoretically change that.
    
    Instruct pypa/distutils to add /local/ addition to prefix
    ---------------------------------------------------------
    
    Needed for setuptools 60+ installed/upgraded by pip or when we update it in rawhide.
    Setuptools 60+ uses bundled pypa/distutils instead of the standard library distutils.
    
        
file modified
+13 -3