Merge pull request #640 from ret2libc/fix_install3

bindings/python: fix install3
This commit is contained in:
Nguyen Anh Quynh 2016-09-20 22:41:16 +08:00 committed by GitHub
commit fb4dc10fe9

View file

@ -1,6 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# Python binding for Unicorn engine. Nguyen Anh Quynh <aquynh@gmail.com> # Python binding for Unicorn engine. Nguyen Anh Quynh <aquynh@gmail.com>
from __future__ import print_function
import glob import glob
import os import os
import shutil import shutil
@ -162,7 +163,7 @@ try:
cmdclass['develop'] = custom_develop cmdclass['develop'] = custom_develop
except ImportError: except ImportError:
print "Proper 'develop' support unavailable." print("Proper 'develop' support unavailable.")
def join_all(src, files): def join_all(src, files):
return tuple(os.path.join(src, f) for f in files) return tuple(os.path.join(src, f) for f in files)