Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r3105:1a92038e7904
Date: 2018-02-23 10:31 +0100
http://bitbucket.org/cffi/cffi/changeset/1a92038e7904/

Log:    Import from setuptools instead of distutils from here (see issue
        #345)

diff --git a/cffi/setuptools_ext.py b/cffi/setuptools_ext.py
--- a/cffi/setuptools_ext.py
+++ b/cffi/setuptools_ext.py
@@ -148,8 +148,8 @@
 
 def _add_py_module(dist, ffi, module_name):
     from distutils.dir_util import mkpath
-    from distutils.command.build_py import build_py
-    from distutils.command.build_ext import build_ext
+    from setuptools.command.build_py import build_py
+    from setuptools.command.build_ext import build_ext
     from distutils import log
     from cffi import recompiler
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to