commit | 3c397e4c39430000348f2f64d9e394bf1b61c509 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@python.org> | Tue Sep 06 22:35:14 2016 +0200 |
committer | Christian Heimes <christian@python.org> | Tue Sep 06 22:35:14 2016 +0200 |
tree | b516d2790839d7068d77079c5e4c59fafcd8e232 | |
parent | b9d9eeda2ad0155c2bb1ce6601f5b311d411f848 [diff] [blame] |
Fix out-of-tree builds for blake2
diff --git a/setup.py b/setup.py index bbb6bb7..ed1acfd 100644 --- a/setup.py +++ b/setup.py
@@ -889,8 +889,8 @@ exts.append( Extension('_sha1', ['sha1module.c'], depends=['hashlib.h']) ) - blake2_deps = [os.path.join('_blake2', 'impl', name) - for name in os.listdir('Modules/_blake2/impl')] + blake2_deps = glob(os.path.join(os.getcwd(), srcdir, + 'Modules/_blake2/impl/*')) blake2_deps.append('hashlib.h') blake2_macros = []