<commit_before>--- setuptools-58.0.2.orig/setuptools/_distutils/sysconfig.py	2021-09-06 15:50:21.000000000 -0300
+++ setuptools-58.0.2/setuptools/_distutils/sysconfig.py	2021-09-07 15:22:18.702243894 -0300
@@ -451,11 +451,13 @@
     """Initialize the module as appropriate for POSIX systems."""
     # _sysconfigdata is generated at build time, see the sysconfig module
     name = os.environ.get('_PYTHON_SYSCONFIGDATA_NAME',
-        '_sysconfigdata_{abi}_{platform}_{multiarch}'.format(
-        abi=sys.abiflags,
-        platform=sys.platform,
-        multiarch=getattr(sys.implementation, '_multiarch', ''),
-    ))
+         os.environ.get('_CONDA_PYTHON_SYSCONFIGDATA_NAME',
+             '_sysconfigdata_{abi}_{platform}_{multiarch}'.format(
+             abi=sys.abiflags,
+             platform=sys.platform,
+             multiarch=getattr(sys.implementation, '_multiarch', ''))
+         )
+     )
     try:
         _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
     except ImportError:<commit_msg>refresh patch<commit_after>diff --color -Naur setuptools-59.2.0.orig/setuptools/_distutils/sysconfig.py setuptools-59.2.0/setuptools/_distutils/sysconfig.py
--- setuptools-59.2.0.orig/setuptools/_distutils/sysconfig.py	2021-11-18 22:13:45.000000000 -0300
+++ setuptools-59.2.0/setuptools/_distutils/sysconfig.py	2021-11-19 16:04:04.278279056 -0300
@@ -478,10 +478,11 @@
     # _sysconfigdata is generated at build time, see the sysconfig module
     name = os.environ.get(
         '_PYTHON_SYSCONFIGDATA_NAME',
+        os.environ.get('_CONDA_PYTHON_SYSCONFIGDATA_NAME',
         _sysconfig_name_tmpl.format(
             abi=sys.abiflags,
             platform=sys.platform,
-            multiarch=getattr(sys.implementation, '_multiarch', ''),
+            multiarch=getattr(sys.implementation, '_multiarch', '')),
         ),
     )
     try:
{'fraction_non_alphanumeric': 0.14232607541157727, 'fraction_numerical': 0.08125331917153479, 'mean_word_length': 3.104575163398693, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '261836', 'n_tokens_mistral': 737, 'n_tokens_neox': 655, 'n_words': 88}