              prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX
          else:
              prefix = plat_specific and EXEC_PREFIX or PREFIX
-+    
+ 
 +    if IS_PYPY:
 +        # PyPy-specific schema
 +        if standard_lib:
 +            return os.path.join(prefix, "lib-python", sys.version[0])
- 
++
      if os.name == "posix":
          if plat_specific or standard_lib:
+             # Platform-specific modules (any module from a non-pure-Python

# Branch conda
# Node ID 85c317f36cd8fc1962c1776a6cfb1df3572c518c
# Parent  e9052b361691a2de3cfb86712ecd4609ac3aff12
conda schema fixes for distutils

diff -r e9052b361691 -r 85c317f36cd8 lib-python/3/distutils/command/install.py
--- a/setuptools/_distutils/command/install.py	Sun Jun 13 10:37:17 2021 +0300
+++ b/setuptools/_distutils/command/install.py	Thu Jun 24 16:35:13 2021 +0300
@@ -56,19 +56,13 @@
         },
     'nt': WINDOWS_SCHEME,
     'pypy': {

     }
 
 # user site schemes
diff --color -Naur setuptools-58.2.0.orig/setuptools/_distutils/sysconfig.py setuptools-58.2.0/setuptools/_distutils/sysconfig.py
--- setuptools-58.2.0.orig/setuptools/_distutils/sysconfig.py	2021-10-02 00:11:16.000000000 -0300
+++ setuptools-58.2.0/setuptools/_distutils/sysconfig.py	2021-10-05 15:11:25.520278820 -0300
@@ -144,20 +144,17 @@
     sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
     """
 
-    if IS_PYPY and sys.version_info < (3, 8):
-        # PyPy-specific schema
-        if prefix is None:
-            prefix = PREFIX
