python/lib/gen_external.py: use os.path.join
authorPaul Brossier <piem@piem.org>
Sun, 15 May 2016 13:31:30 +0000 (15:31 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 15 May 2016 13:31:30 +0000 (15:31 +0200)
python/lib/gen_external.py

index 2fd1519..2486994 100644 (file)
@@ -1,7 +1,7 @@
 import os, glob
 
 import os, glob
 
-header = 'src/aubio.h'
-output_path = 'python/gen'
+header = os.path.join('src', 'aubio.h')
+output_path = os.path.join('python', 'gen')
 
 source_header = """// this file is generated! do not modify
 #include "aubio-types.h"
 
 source_header = """// this file is generated! do not modify
 #include "aubio-types.h"