Workaround for python3 in setup.py (#1130)

python3 fix
This commit is contained in:
Stuart Axon 2016-09-23 15:54:20 +01:00 committed by Arvid Norberg
parent a75c2ba47e
commit ae4c10e936
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
#!/usr/bin/env python
import os
import sys
os.chdir('bindings/python')
execfile('setup.py')
with open('setup.py) as filename:
exec(filename.read())