Esempio n. 1
0
 def _addPyMods(self, pypath, prod=''):
     from Explorers import Explorer
     Explorer.listdirEx(pypath, '.zexp')
     mods = []
     fls = Explorer.listdirEx(pypath, '.py')
     for file in fls:
         mods.append(prod +(prod and '.')+os.path.splitext(file)[0])
     return mods
Esempio n. 2
0
 def _addPyMods(self, pypath, prod=''):
     from Explorers import Explorer
     Explorer.listdirEx(pypath, '.zexp')
     mods = []
     fls = Explorer.listdirEx(pypath, '.py')
     for file in fls:
         mods.append(prod + (prod and '.') + os.path.splitext(file)[0])
     return mods
Esempio n. 3
0
 def listImportFiles(self):
     if self.properties.has_key(
             'localpath') and self.properties['localpath']:
         from Explorers import Explorer
         return Explorer.listdirEx(self.properties['localpath'] + '/import',
                                   '.zexp')
     else:
         return []
Esempio n. 4
0
 def listImportFiles(self):
     if self.properties.has_key('localpath') and self.properties['localpath']:
         from Explorers import Explorer
         return Explorer.listdirEx(self.properties['localpath']+'/import', '.zexp')
     else:
         return []