Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r3097:b576c88f25f7
Date: 2018-02-16 09:27 +0100
http://bitbucket.org/cffi/cffi/changeset/b576c88f25f7/

Log:    In the setup.py, always import setuptools first on Windows

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -2,6 +2,10 @@
 import subprocess
 import errno
 
+# on Windows we give up and always import setuptools early to fix things for us
+if sys.platform == "win32":
+    import setuptools
+
 
 sources = ['c/_cffi_backend.c']
 libraries = ['ffi']
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to