diff -r 93e213825746 setup.py --- a/setup.py Thu Feb 15 09:21:50 2018 +0100 +++ b/setup.py Fri Feb 16 09:25:13 2018 +0100 @@ -2,6 +2,10 @@ import subprocess import errno +# on Windows we give up an always import setuptools to fix things for us +if sys.platform == "win32": + import setuptools + sources = ['c/_cffi_backend.c'] libraries = ['ffi']