示例#1
0
        def run(self):
            # Ensure the binding file exist when running wheel build
            from llvmlite.utils import get_library_files
            build_library_files(self.dry_run)
            for fn in get_library_files():
                path = os.path.join('llvmlite', 'binding', fn)
                if not os.path.isfile(path):
                    raise RuntimeError("missing {}".format(path))

            self.distribution.package_data.update({
                "llvmlite.binding":
                get_library_files(),
            })
            # Run wheel build command
            bdist_wheel.run(self)
示例#2
0
文件: setup.py 项目: RazerM/llvmlite
 def run(self):
     build_ext.run(self)
     cmd = [sys.executable, os.path.join(here_dir, 'ffi', 'build.py')]
     spawn(cmd, dry_run=self.dry_run)
     # HACK: this makes sure the library file (which is large) is only
     # included in binary builds, not source builds.
     self.distribution.package_data = {
         "llvmlite.binding": get_library_files(),
     }
示例#3
0
 def run(self):
     build_ext.run(self)
     build_library_files(self.dry_run)
     # HACK: this makes sure the library file (which is large) is only
     # included in binary builds, not source builds.
     from llvmlite.utils import get_library_files
     self.distribution.package_data = {
         "llvmlite.binding": get_library_files(),
     }
示例#4
0
 def run(self):
     build_ext.run(self)
     cmd = [sys.executable, os.path.join(here_dir, 'ffi', 'build.py')]
     spawn(cmd, dry_run=self.dry_run)
     # HACK: this makes sure the library file (which is large) is only
     # included in binary builds, not source builds.
     self.distribution.package_data = {
         "llvmlite.binding": get_library_files(),
     }
示例#5
0
文件: setup.py 项目: numba/llvmlite
 def run(self):
     build_ext.run(self)
     build_library_files(self.dry_run)
     # HACK: this makes sure the library file (which is large) is only
     # included in binary builds, not source builds.
     from llvmlite.utils import get_library_files
     self.distribution.package_data = {
         "llvmlite.binding": get_library_files(),
     }
示例#6
0
 def run(self):
     # Ensure the binding file exist when running wheel build
     from llvmlite.utils import get_library_files
     build_library_files(self.dry_run)
     self.distribution.package_data.update({
         "llvmlite.binding": get_library_files(),
     })
     # Run wheel build command
     bdist_wheel.run(self)
示例#7
0
 def run(self):
     # Ensure the binding file exist when running wheel build
     from llvmlite.utils import get_library_files
     # Turn on -fPIC for wheel building on Linux
     pic = sys.platform.startswith('linux')
     build_library_files(self.dry_run, pic=pic)
     self.distribution.package_data.update({
         "llvmlite.binding": get_library_files(),
     })
     # Run wheel build command
     bdist_wheel.run(self)
示例#8
0
文件: setup.py 项目: RazerM/llvmlite
 def run(self):
     self.distribution.package_data = {
         "llvmlite.binding": get_library_files(),
     }
     install.run(self)
示例#9
0
 def run(self):
     from llvmlite.utils import get_library_files
     self.distribution.package_data = {
         "llvmlite.binding": get_library_files(),
     }
     install.run(self)