#!BPY
# -*- coding: iso8859-1 -*- 
"""
Name: 'Afficher les chemins python'
Blender: 240
Group: 'Help'
Tooltip: 'Affiche les chemins python'
"""

__author__ = "VVPix"
__url__ = ("www.vvpix.com/bld_Index.htm")
__version__ = "1.00"

__bpydoc__ = """\
Ce script affiche les chemins Python (variable PYTHONPATH).
"""

# ***** BEGIN GPL LICENSE BLOCK *****
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#
# ***** END GPL LICENCE BLOCK *****

# V 1.00 : première version

from Blender import Draw
import sys

def afficher():
	strM = "\"%s\""%(sys.path)
	print "----------------------------------------"
	print "Chemins Python pour Blender :"
	for strChemin in sys.path:
		print strChemin
	print "Nb chemins : %d\n"%( len(sys.path) )
	print "----------------------------------------"
	strM = "Information%t|Le résultat est dans la console de Blender"
	Draw.PupMenu( strM )


if __name__ == "__main__":
	afficher()



