Author: Armin Rigo <[email protected]>
Branch:
Changeset: r434:05aaded152be
Date: 2012-06-18 12:16 +0200
http://bitbucket.org/cffi/cffi/changeset/05aaded152be/
Log: A clear error message for Win32.
diff --git a/setup_base.py b/setup_base.py
--- a/setup_base.py
+++ b/setup_base.py
@@ -12,6 +12,10 @@
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit