[pypy-commit] cffi default: try to be more accurate
mattip
noreply at buildbot.pypy.org
Tue Oct 13 23:44:40 CEST 2015
Author: mattip <matti.picus at gmail.com>
Branch:
Changeset: r2338:8628e3d133c1
Date: 2015-10-14 00:06 +0300
http://bitbucket.org/cffi/cffi/changeset/8628e3d133c1/
Log: try to be more accurate
diff --git a/cffi/verifier.py b/cffi/verifier.py
--- a/cffi/verifier.py
+++ b/cffi/verifier.py
@@ -24,7 +24,8 @@
def _hack_at_distutils():
# Windows-only workaround for some configurations: see
- # https://bugs.python.org/issue23246 (Python 2.7.9)
+ # https://bugs.python.org/issue23246 (Python 2.7 with
+ # a specific MS compiler suite download)
if sys.platform == "win32":
try:
import setuptools # for side-effects, patches distutils
diff --git a/doc/source/installation.rst b/doc/source/installation.rst
--- a/doc/source/installation.rst
+++ b/doc/source/installation.rst
@@ -137,9 +137,10 @@
The recommended C compiler compatible with Python 2.7 is this one:
http://www.microsoft.com/en-us/download/details.aspx?id=44266
-There is a known problem with distutils on Python 2.7.9, as
+There is a known problem with distutils on Python 2.7, as
explained in https://bugs.python.org/issue23246, and the same
-problem applies whenever you want to run compile() to build a dll.
+problem applies whenever you want to run compile() to build a dll with
+this specific compiler suite download.
``import setuptools`` might help, but YMMV
For Python 3.4 and beyond:
More information about the pypy-commit
mailing list