Python version: 3.5
OS distribution:  #1 SMP Thu Dec 15 23:10:23 UTC 2016
OS architecture:  x86_64
sys.prefix: /usr
sys.exec_prefix: /usr
sys.base_prefix: /usr
sys.base_exec_prefix: /usr

site.PREFIXES:  ['/usr', '/usr'] 
site.ENAABLE_USER_SITE:  True

Excludes non-existent paths
sys.path:
/shared/playproj/i2c/src/swig
/usr/lib64/python35.zip
/usr/lib64/python3.5
/usr/lib64/python3.5/plat-linux
/usr/lib64/python3.5/lib-dynload
/usr/lib64/python3.5/site-packages
/usr/lib/python3.5/site-packages

Uses it's own private code for building directory names, 
Does not use sysconfig.get.get_-path() or distutils.sysconfig.get_python)_lib():
Contains paths that may not exist:
Any existing directory in this list are added to sys.path by site.py's main() function,
which is automatically called unless the interpreter is started with the -S flag
site.getsitepackages():
If no argument, defaults to getsitepackages(prefixes=site.PREFXIES)
where site.PREFIXES=['/usr', '/usr']
['/usr/lib64/python3.5/site-packages', '/usr/lib/python3.5/site-packages']

site.getusersitepackages():  /home/rock/.local/lib/python3.5/site-packages

platform independent library directory - distutils.sysconfig.get_python_lib(0)
/usr/lib/python3.5/site-packages

platform specific library directory - distutils.sysconfig.get_python_lib(1)
/usr/lib64/python3.5/site-packages


Per Python doc 28.2.2  Installation paths:
  posix_prefix: scheme for Posix platforms like Linux or Mac OS X. 
  This is the default scheme used when Python or a component is installed.

Scheme posix_local appears to be specific to Python2 on debian/ubuntu
It appears that if posix_local esists, it is the default scheme, not posix_prefix
sysconfig.get_scheme_names():
('nt',
 'nt_user',
 'osx_framework_user',
 'posix_home',
 'posix_prefix',
 'posix_user')

Checking for identical schemes...
library_id=platlib, scheme: posix_prefix and scheme: <default> are identical
   Filtered schemes: ['posix_prefix']
Checking for identical prefixes for scheme: posix_prefix
library_id=platlib, scheme: posix_prefix, prefix: /usr and prefix: <default> are identical

prefixes_for_scheme:
{'posix_prefix': ['/usr', '/usr/local']}
Filtered platform specific libraries:
  sysconfig.get_path()                          scheme=posix_prefix  platbase=/usr             /usr/lib64/python3.5/site-packages
  sysconfig.get_path()                          scheme=posix_prefix  platbase=/usr/local       /usr/local/lib64/python3.5/site-packages

Getting libraries using sysconfig.get_python_lib()
  distutils.sysconfig.get_python_lib()                               prefix=<default>          /usr/lib64/python3.5/site-packages
  distutils.sysconfig.get_python_lib()                               prefix=/usr               /usr/lib64/python3.5/site-packages
  distutils.sysconfig.get_python_lib()                               prefix=/usr/local         /usr/local/lib64/python3.5/site-packages


Getting platform specific library:
  sysconfig.get_path()                          scheme=posix_prefix  expand=False              {platbase}/lib64/python{py_version_short}/site-packages
  sysconfig.get_path()                          scheme=posix_prefix  <defaults>                /usr/lib64/python3.5/site-packages
  sysconfig.get_path()                          scheme=posix_prefix  prefix=None               /usr/lib64/python3.5/site-packages
  distutils.sysconfig.get_python_lib()                               prefix=None               /usr/lib64/python3.5/site-packages
  sysconfig.get_path()                          scheme=posix_prefix  prefix=/usr               /usr/lib64/python3.5/site-packages
  distutils.sysconfig.get_python_lib()                               prefix=/usr               /usr/lib64/python3.5/site-packages
  sysconfig.get_path()                          scheme=posix_prefix  prefix=/usr/local         /usr/local/lib64/python3.5/site-packages
  distutils.sysconfig.get_python_lib()                               prefix=/usr/local         /usr/local/lib64/python3.5/site-packages

                                   site-packages    dist-packages
sysconfig.get_path( scheme='posix_prefix')    5                0
other                                         3                0

                          site-packages    dist-packages
sysconfig.get_path()                 5                0
distutils.sysconfix.get_lib()        3                0

platform independent include directory - distutils.sysconfig.get_python_inc(0)
/usr/include/python3.5m

platform specific include directory - distutils.sysconfig.get_python_inc(1)
/usr/include/python3.5m

sysconfig.getpath_names():
('stdlib', 'platstdlib', 'purelib', 'platlib', 'include', 'scripts', 'data')
  stdlib:  /usr/lib64/python3.5
  platstdlib:  /usr/lib64/python3.5
  purelib:  /usr/lib/python3.5/site-packages
  platlib:  /usr/lib64/python3.5/site-packages
  include:  /usr/include/python3.5m
  scripts:  /usr/bin
  data:  /usr

distutils.sysconfig.get_config_vars(): 
  CPPFLAGS: -I. -IInclude -I/builddir/build/BUILD/Python-3.5.2/Include
  CFLAGS: -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv
  CFLAGSFORSHARED: -fPIC
  exec_prefix: /usr
  INCLUDEDIR: /usr/include
  INCLUDEPY: /usr/include/python3.5m
  INSTSONAME: libpython3.5m.so.1.0
  LDFLAGS: -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
  LDLIBRARY: libpython3.5m.so
  LDSHARED: gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
  LIBS: -lpthread -ldl  -lutil
  LINKFORSHARED: -Xlinker -export-dynamic
  platbase: None
  PREFIX: None
  PY_CFLAGS: -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv
  PY_CORE_CFLAGS: -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -Werror=declaration-after-statement -I. -IInclude -I/builddir/build/BUILD/Python-3.5.2/Include  -DPy_BUILD_CORE
  PY_CPPFLAGS: -I. -IInclude -I/builddir/build/BUILD/Python-3.5.2/Include
  PY_LDFLAGS: -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
  SHLIBS: -lpthread -ldl  -lutil
  SITEPATH: 
  SYSLIBS: -lm
