Exemplo n.º 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)
Exemplo n.º 2
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(),
     }
Exemplo n.º 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(),
     }
Exemplo n.º 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(),
     }
Exemplo n.º 5
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(),
     }
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 8
0
 def run(self):
     self.distribution.package_data = {
         "llvmlite.binding": get_library_files(),
     }
     install.run(self)
Exemplo n.º 9
0
 def run(self):
     from llvmlite.utils import get_library_files
     self.distribution.package_data = {
         "llvmlite.binding": get_library_files(),
     }
     install.run(self)