HEX
Server: LiteSpeed
System: Linux pro10.iranspeed.net 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64
User: mahdefoo (1029)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //opt/alt/python33/bin/python3-config
#!/opt/alt/python33/bin/python3.3m
# -*- python -*-

import sys
import subprocess
ver = sys.version[:3]
arch = subprocess.check_output('uname -m'.split()).decode("utf-8").rstrip()
call = ['python{ver}m-{arch}-config'.format(ver=ver, arch=arch)] + sys.argv[1:]
retval = subprocess.call(call)
if retval == 127:
    print('Could not find python{ver}m-{arch}-config. Look around to see available arches.'.format(ver=ver, arch=arch), file=sys.stderr)