예제 #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)