diff options
Diffstat (limited to 'setup_base.py')
-rw-r--r-- | setup_base.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setup_base.py b/setup_base.py index d4262af..85f8ac3 100644 --- a/setup_base.py +++ b/setup_base.py @@ -12,6 +12,10 @@ else: COMPILE_LIBFFI = None if COMPILE_LIBFFI: + assert os.path.isdir(COMPILE_LIBFFI), ( + "On Windows, you need to copy the directory " + "Modules\\_ctypes\\libffi_msvc from the CPython sources (2.6 or 2.7) " + "into the top-level directory.") include_dirs.append(COMPILE_LIBFFI) libraries.remove('ffi') sources.extend(os.path.join(COMPILE_LIBFFI, filename) |