diff options
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -61,8 +61,9 @@ class GenerateResources(build): (path, ' '.join(command))) with open(os.path.join(target_dir, filename), 'w') as f: + cwd = os.path.dirname(__file__) or '.' p = subprocess.Popen(command, - cwd=os.path.dirname(__file__), + cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) o = p.communicate() |