¡@

Home 

python Programming Glossary: sysconfig

Can we shed some definitive light on how python packaging and import works?

http://stackoverflow.com/questions/5714916/can-we-shed-some-definitive-light-on-how-python-packaging-and-import-works

to find your site packages directory from distuils import sysconfig print sysconfig.get_python_lib Ways to modify your PYTHONPATH.. packages directory from distuils import sysconfig print sysconfig.get_python_lib Ways to modify your PYTHONPATH Python's import.. # myname.pth home myname lib That's it. Drop that into sysconfig.get_python_lib on your system or any other directory in your..

Python distutils not using correct version of gcc

http://stackoverflow.com/questions/5967065/python-distutils-not-using-correct-version-of-gcc

what distutils is using as defaults from distutils import sysconfig sysconfig.get_config_var 'LDSHARED' 'gcc 4.0 Wl F. bundle undefined.. is using as defaults from distutils import sysconfig sysconfig.get_config_var 'LDSHARED' 'gcc 4.0 Wl F. bundle undefined dynamic_lookup'.. 'LDSHARED' 'gcc 4.0 Wl F. bundle undefined dynamic_lookup' sysconfig.get_config_var 'CC' 'gcc 4.0' Next you need to redefine those..

no module named zlib

http://stackoverflow.com/questions/6169522/no-module-named-zlib

system python was compiled with by doing python c import sysconfig print sysconfig.get_config_var 'CONFIG_ARGS' The key is to make.. was compiled with by doing python c import sysconfig print sysconfig.get_config_var 'CONFIG_ARGS' The key is to make sure you have..

Problems compiling Python 3.2 and 2.7 using pythonbrew

http://stackoverflow.com/questions/6377921/problems-compiling-python-3-2-and-2-7-using-pythonbrew

pythonbrew build Python 3.2 . python E c 'import sys from sysconfig import get_platform print get_platform sys.version 0 3 ' platform.. pythonbrew build Python 2.7 . python E c 'import sys from sysconfig import get_platform print get_platform sys.version 0 3 ' platform..

How can I get a list of all the Python standard library modules

http://stackoverflow.com/questions/6463918/how-can-i-get-a-list-of-all-the-python-standard-library-modules

part of the standard library yourself import distutils.sysconfig as sysconfig import os std_lib sysconfig.get_python_lib standard_lib.. standard library yourself import distutils.sysconfig as sysconfig import os std_lib sysconfig.get_python_lib standard_lib True.. import distutils.sysconfig as sysconfig import os std_lib sysconfig.get_python_lib standard_lib True for top dirs files in os.walk..

Extend python/django with c and mod_wsgi with apache

http://stackoverflow.com/questions/6840486/extend-python-django-with-c-and-mod-wsgi-with-apache

build I find it necessary to add from distutils import sysconfig dummy sysconfig.get_config_vars 'CFLAGS' 'OPT' config_vars sysconfig._config_vars.. it necessary to add from distutils import sysconfig dummy sysconfig.get_config_vars 'CFLAGS' 'OPT' config_vars sysconfig._config_vars.. dummy sysconfig.get_config_vars 'CFLAGS' 'OPT' config_vars sysconfig._config_vars config_vars 'CFLAGS' config_vars 'CFLAGS' .replace..