Permalink
Browse files

Fixed building fake QtCore extension

  • Loading branch information...
1 parent 68e7c8f commit c5244218569b16e64323376d19206e2561fc9bcf @lck lck committed Nov 8, 2013
Showing with 10 additions and 0 deletions.
  1. +10 −0 setup.py
View
@@ -78,6 +78,7 @@
from distutils.sysconfig import get_python_lib
from distutils.spawn import find_executable
from distutils.command.build import build as _build
+from distutils.command.build_ext import build_ext as _build_ext
from setuptools import setup, Extension
from setuptools.command.install import install as _install
@@ -267,6 +268,14 @@ def run(self):
self.run_command("build")
_bdist_egg.run(self)
+class pyside_build_ext(_build_ext):
+
+ def __init__(self, *args, **kwargs):
+ _build_ext.__init__(self, *args, **kwargs)
+
+ def run(self):
+ pass
+
class pyside_build(_build):
def __init__(self, *args, **kwargs):
@@ -953,6 +962,7 @@ def read(fname):
},
cmdclass = {
'build': pyside_build,
+ 'build_ext': pyside_build_ext,
'bdist_egg': pyside_bdist_egg,
'develop': pyside_develop,
'install': pyside_install,

0 comments on commit c524421

Please sign in to comment.