Server IP : 66.29.132.122 / Your IP : 18.225.209.89 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/alt/python311/lib/python3.11/site-packages/setuptools/_distutils/command/ |
Upload File : |
import sys def _pythonlib_compat(): """ On Python 3.7 and earlier, distutils would include the Python library. See pypa/distutils#9. """ from distutils import sysconfig if not sysconfig.get_config_var('Py_ENABLED_SHARED'): return yield 'python{}.{}{}'.format( sys.hexversion >> 24, (sys.hexversion >> 16) & 0xFF, sysconfig.get_config_var('ABIFLAGS'), ) def compose(f1, f2): return lambda *args, **kwargs: f1(f2(*args, **kwargs)) pythonlib = ( compose(list, _pythonlib_compat) if sys.version_info < (3, 8) and sys.platform != 'darwin' and sys.platform[:3] != 'aix' else list )