INSTALLDIR=os.path.join(REPINI,'..')
sys.path.append(INSTALLDIR)
sys.path.append(INSTALLDIR+"/Ui")
+sys.path.append(INSTALLDIR+"/InterfaceQT")
from qt import *
from myMain_ui import Eficas
from InterfaceQT import utilIcons
utilIcons.initializeMimeSourceFactory()
-import prefs
class Appli(Eficas):
"""
"""
Eficas.__init__(self)
+ if code == "ASTER" :
+ from Aster import prefs
+ sys.path.append(INSTALLDIR+"/Aster")
self.top=self
self.CONFIGURATION = configuration.make_config(self,prefs.REPINI)
self.CONFIGStyle = configuration.make_config_style(self,prefs.REPINI)
if __name__=='__main__':
# Modules Eficas
+ sys.path.append(INSTALLDIR+"/Aster")
import prefs
if hasattr(prefs,'encoding'):
# Hack pour changer le codage par defaut des strings