The source_root was wrong computed

Using 'SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))' leads to an empty string if the path is relative.
This commit is contained in:
Bernhard Millauer 2014-05-14 01:07:26 +02:00
parent 0521663076
commit 75fcafa013

View file

@ -7,7 +7,7 @@ import sys
CONFIGURATIONS = ['Release', 'Debug']
SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
def main():