diff -Naur PyYAML-3.10/setup.py PyYAML-3.10.patch/setup.py
--- PyYAML-3.10/setup.py	2011-05-30 05:31:04.000000000 +0200
+++ PyYAML-3.10.patch/setup.py	2011-07-17 17:49:50.360528344 +0200
@@ -62,9 +62,10 @@
 import sys, os.path
 
 from distutils import log
+from setuptools import setup
 from distutils.core import setup, Command
 from distutils.core import Distribution as _Distribution
-from distutils.core import Extension as _Extension
+from setuptools import Extension as _Extension
 from distutils.dir_util import mkpath
 from distutils.command.build_ext import build_ext as _build_ext
 from distutils.command.bdist_rpm import bdist_rpm as _bdist_rpm
