Function: semantic-python-get-system-include-path

semantic-python-get-system-include-path is a byte-compiled function defined in python.el.gz.

Signature

(semantic-python-get-system-include-path)

Documentation

Evaluate some Python code that determines the system include path.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/python.el.gz
;;; Customization
;;

(defun semantic-python-get-system-include-path ()
  "Evaluate some Python code that determines the system include path."
  (delq nil
	(mapcar
	 (lambda (dir)
	   (when (file-directory-p dir)
	     dir))
	 (split-string
	  (python-shell-internal-send-string
	   "import sys;print ('\\n'.join(sys.path))")
	  "\n" t))))