Sha256: d0cb2f73142f816aff0e05ff9f0d6c3ef59332f6ef017394265e9784d771a61d

Contents?: true

Size: 536 Bytes

Versions: 6

Compression:

Stored size: 536 Bytes

Contents

from distutils.sysconfig import get_config_var
import sys

def conda():
    return 'conda' in sys.version or 'Continuum' in sys.version

for var in ('executable', 'exec_prefix', 'prefix'):
  print(var + ': ' + str(getattr(sys, var)))
print('conda: ' + ('true' if conda() else 'false'))
print('multiarch: ' + str(getattr(getattr(sys, 'implementation', sys), '_multiarch', None)))
for var in ('VERSION', 'INSTSONAME', 'LIBRARY', 'LDLIBRARY', 'LIBDIR', 'PYTHONFRAMEWORKPREFIX', 'MULTIARCH'):
  print(var + ': ' + str(get_config_var(var)))

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pycall-1.3.0.dev lib/pycall/python/investigator.py
pycall-1.2.1 lib/pycall/python/investigator.py
pycall-1.2.0 lib/pycall/python/investigator.py
pycall-1.2.0.beta1 lib/pycall/python/investigator.py
pycall-1.1.0.rc1 lib/pycall/python/investigator.py
pycall-1.0.3 lib/pycall/python/investigator.py