Index: /issm/trunk/src/py/README
===================================================================
--- /issm/trunk/src/py/README	(revision 10148)
+++ /issm/trunk/src/py/README	(revision 10148)
@@ -0,0 +1,24 @@
+# add in your bashrc 
+# export PYTHONSTARTUP="$ISSM_TIER/startup.py"
+# so that all python tools are loaded
+#
+# launch python
+
+>>> md=mode();
+>>> md
+>>> md.mesh
+>>> md.mesh.x
+
+# to try the hello module:
+
+>>> import hello
+>>> hello.say_hello("Mathieu")
+
+#to try test TriMesh (which converts a python list to a double pointer and echoes
+#its values:
+
+>>> import TriMesh
+>>> TriMesh.mesh([1,2,3])
+1
+2
+3
Index: /issm/trunk/src/py/classes/model.py
===================================================================
--- /issm/trunk/src/py/classes/model.py	(revision 10147)
+++ /issm/trunk/src/py/classes/model.py	(revision 10148)
@@ -1,7 +1,9 @@
+from mesh import *
+
 class model:
 	"""Python model class"""
-	x = []
-	y = []
-	elements = []
+	mesh=mesh()
 	def __init__(self):
 		print 'new model created'
+	def __repr__(self):
+		return "   mesh: mesh properties"
Index: /issm/trunk/src/py/modules/TriMesh/Makefile
===================================================================
--- /issm/trunk/src/py/modules/TriMesh/Makefile	(revision 10147)
+++ /issm/trunk/src/py/modules/TriMesh/Makefile	(revision 10148)
@@ -1,3 +1,5 @@
-all:
+all: ogive
+
+ice:
 	g++ -bundle  -bind \
 		-I$(ISSM_TIER)/externalpackages/boost/install/include \
@@ -5,3 +7,13 @@
 		-L/usr/lib/python2.6/config/ -lpython2.6 \
 		TriMeshmodule.cpp -o TriMesh.so
-	#-I/usr/include/python2.6/ \
+
+ogive:
+	g++ \
+		-I$(ISSM_TIER)/externalpackages/boost/install/include \
+		-I/opt/local/include/python2.5/ \
+		-L$(ISSM_TIER)/externalpackages/boost/install/lib -lboost_python \
+		-L/usr/lib/ -lpython2.5 \
+		TriMeshmodule.cpp -o TriMesh.so -bundle
+
+clean:
+	rm TriMesh.so
Index: /issm/trunk/src/py/modules/hello/Makefile
===================================================================
--- /issm/trunk/src/py/modules/hello/Makefile	(revision 10147)
+++ /issm/trunk/src/py/modules/hello/Makefile	(revision 10148)
@@ -1,3 +1,5 @@
-all:
+all: ogive
+
+ice:
 	g++ -bundle  -bind \
 		-I$(ISSM_TIER)/externalpackages/boost/install/include \
@@ -6,2 +8,13 @@
 		-L/usr/lib/python2.6/config/ -lpython2.6 \
 		hellomodule.cpp -o hello.so
+
+ogive:
+	g++ \
+		-I$(ISSM_TIER)/externalpackages/boost/install/include \
+		-I/usr/include/python2.5/ \
+		-L$(ISSM_TIER)/externalpackages/boost/install/lib -lboost_python \
+		-L/usr/lib/python2.5/config/ -lpython2.5 \
+		hellomodule.cpp -o hello.so -bundle
+
+clean:
+	rm hello.so
Index: sm/trunk/src/py/test.py
===================================================================
--- /issm/trunk/src/py/test.py	(revision 10147)
+++ 	(revision )
@@ -1,2 +1,0 @@
-import model
-md=model.model()
Index: /issm/trunk/startup.py
===================================================================
--- /issm/trunk/startup.py	(revision 10147)
+++ /issm/trunk/startup.py	(revision 10148)
@@ -22,5 +22,7 @@
 sys.path.append(ISSM_TIER+'/src/py')
 sys.path.append(ISSM_TIER+'/src/py/classes')
-import model
+sys.path.append(ISSM_TIER+'/src/py/modules/TriMesh')
+sys.path.append(ISSM_TIER+'/src/py/modules/hello')
+from model import *
 
 print "\n  To get started with ISSM, type issmdoc at the command prompt.\n\n"
