[DEV] multiple project generation with no config properties
This commit is contained in:
parent
fbdf561438
commit
8fd16ebb05
11
lutin.py
11
lutin.py
@ -161,7 +161,18 @@ if __name__ == '__main__':
|
|||||||
debug.verbose("Use Make as a make stadard")
|
debug.verbose("Use Make as a make stadard")
|
||||||
sys.path.append(lutinTools.GetRunFolder())
|
sys.path.append(lutinTools.GetRunFolder())
|
||||||
debug.verbose(" try to impoert module 'lutinBase.py'")
|
debug.verbose(" try to impoert module 'lutinBase.py'")
|
||||||
|
if os.path.exists("lutinBase.py" )==True:
|
||||||
__import__("lutinBase")
|
__import__("lutinBase")
|
||||||
|
else:
|
||||||
|
debug.debug("missing file lutinBase.py ==> loading subPath...");
|
||||||
|
# Import all sub path without out and archive
|
||||||
|
for folder in os.listdir("."):
|
||||||
|
if os.path.isdir(folder)==True:
|
||||||
|
if folder.lower()!="android" \
|
||||||
|
and folder.lower()!="archive" \
|
||||||
|
and folder.lower()!="out" :
|
||||||
|
debug.debug("Automatic load path: '" + folder + "'")
|
||||||
|
lutinModule.ImportPath(folder)
|
||||||
Start()
|
Start()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user