--- a/py_ext/py_ext.py Mon May 21 02:49:53 2012 +0200
+++ b/py_ext/py_ext.py Mon May 21 10:04:27 2012 +0200
@@ -1,6 +1,7 @@
import os
from POULibrary import POULibrary
from PythonFileCTNMixin import PythonFileCTNMixin
+from util import opjimg
class PythonLibrary(POULibrary):
def GetLibraryPath(self):
@@ -29,6 +30,10 @@
return (["py_ext"], [(Gen_Pythonfile_path, IECCFLAGS)], True), ""
class PythonFile(PythonFileCTNMixin):
+
+ def GetIconPath(self):
+ return opjimg("Pyfile")
+
def CTNGenerate_C(self, buildpath, locations):
current_location = self.GetCurrentLocation()
# define a unique name for the generated C file