Guest User

Untitled

a guest
Aug 28th, 2015
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.93 KB | None | 0 0
  1. diff --git a/setup.py b/setup.py
  2. index 01f584e..3dcc4a3 100644
  3. --- a/setup.py
  4. +++ b/setup.py
  5. @@ -3,6 +3,7 @@ try:
  6.      from setuptools.command.build_py import build_py as build
  7.      from setuptools.command.build_ext import build_ext
  8.      from setuptools.command.install import install
  9. +    from setuptools.command.bdist_egg import bdist_egg
  10.  except ImportError:
  11.      from distutils.core import setup, Extension
  12.      from distutils.command.build import build
  13. @@ -73,10 +74,16 @@ class LlvmliteInstall(install):
  14.          }
  15.          install.run(self)
  16.  
  17. +class LlvmliteBdistEgg(bdist_egg):
  18. +
  19. +    def run(self):
  20. +        self.call_command('build_ext')
  21. +        bdist_egg.run(self)
  22.  
  23.  cmdclass.update({'build': LlvmliteBuild,
  24.                   'build_ext': LlvmliteBuildExt,
  25.                   'install': LlvmliteInstall,
  26. +                 'bdist_egg': LlvmliteBdistEgg,
  27.                   })
  28.  
  29.  packages = ['llvmlite_artiq',
Advertisement
Add Comment
Please, Sign In to add comment