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)
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(), }
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(), }
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)
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)
def run(self): self.distribution.package_data = { "llvmlite.binding": get_library_files(), } install.run(self)
def run(self): from llvmlite.utils import get_library_files self.distribution.package_data = { "llvmlite.binding": get_library_files(), } install.run(self)