diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,8 @@
 # -*- coding: utf-8 -*-
 
 import setuptools
-from setuptools import setup, Extension
+from setuptools import setup
+from distutils.extension import Extension
 from Cython.Build import cythonize
 import numpy
Swap setuptools extension for distutils for Cython compatibility