$47 GRAYBYTE WORDPRESS FILE MANAGER $33

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python27/bin/

HOME
Current File : /opt/alt/python27/bin//python2-config
#!/opt/alt/python27/bin/python2.7

import sys
import os
import getopt
from distutils import sysconfig

valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags',
              'ldflags', 'extension-suffix', 'help']

def exit_with_usage(code=1):
    print >>sys.stderr, "Usage: %s [%s]" % (sys.argv[0],
                                            '|'.join('--'+opt for opt in valid_opts))
    sys.exit(code)

try:
    opts, args = getopt.getopt(sys.argv[1:], '', valid_opts)
except getopt.error:
    exit_with_usage()

if not opts:
    exit_with_usage()

pyver = sysconfig.get_config_var('VERSION')
getvar = sysconfig.get_config_var

opt_flags = [flag for (flag, val) in opts]

if '--help' in opt_flags:
    exit_with_usage(code=0)

for opt in opt_flags:
    if opt == '--prefix':
        print sysconfig.PREFIX

    elif opt == '--exec-prefix':
        print sysconfig.EXEC_PREFIX

    elif opt in ('--includes', '--cflags'):
        flags = ['-I' + sysconfig.get_python_inc(),
                 '-I' + sysconfig.get_python_inc(plat_specific=True)]
        if opt == '--cflags':
            flags.extend(getvar('CFLAGS').split())
        print ' '.join(flags)

    elif opt in ('--libs', '--ldflags'):
        libs = ['-lpython' + pyver + (sys.pydebug and "_d" or "")]
        libs += getvar('LIBS').split()
        libs += getvar('SYSLIBS').split()
        # add the prefix/lib/pythonX.Y/config dir, but only if there is no
        # shared library in prefix/lib/.
        if opt == '--ldflags':
            if not getvar('Py_ENABLE_SHARED'):
                libs.insert(0, '-L' + getvar('LIBPL'))
            if not getvar('PYTHONFRAMEWORK'):
                libs.extend(getvar('LINKFORSHARED').split())
        print ' '.join(libs)

    elif opt == '--extension-suffix':
        print (sys.pydebug and "_d" or "") + sysconfig.get_config_var('SO')


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.48 PM
root / root
0755
easy_install
0.236 KB
13 Nov 2023 9.14 PM
root / linksafe
0755
easy_install-2.7
0.236 KB
13 Nov 2023 9.14 PM
root / linksafe
0755
lswsgi
110.789 KB
24 Feb 2021 3.26 PM
root / linksafe
0755
pip
0.645 KB
13 Nov 2023 9.11 PM
root / linksafe
0755
pip-2
0.645 KB
13 Nov 2023 9.11 PM
root / linksafe
0755
pip-2.7
0.645 KB
13 Nov 2023 9.11 PM
root / linksafe
0755
pip2
0.645 KB
13 Nov 2023 9.11 PM
root / linksafe
0755
pip2.7
0.645 KB
13 Nov 2023 9.11 PM
root / linksafe
0755
pydoc
0.089 KB
8 Jan 2025 10.42 AM
root / linksafe
0755
python
7.75 KB
8 Jan 2025 10.44 AM
root / linksafe
0755
python-config
1.815 KB
8 Jan 2025 10.42 AM
root / linksafe
0755
python2
7.75 KB
8 Jan 2025 10.44 AM
root / linksafe
0755
python2-config
1.815 KB
8 Jan 2025 10.42 AM
root / linksafe
0755
python2.7
7.75 KB
8 Jan 2025 10.44 AM
root / linksafe
0755
python2.7-config
1.815 KB
8 Jan 2025 10.42 AM
root / linksafe
0755
raven
0.297 KB
18 Oct 2019 1.53 PM
root / linksafe
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF