Beispiel #1
0
 def w_import_extension(self, modname, functions, prologue="",
     include_dirs=None, more_init="", PY_SSIZE_T_CLEAN=False):
     from extbuild import get_sys_info_app
     sys_info = get_sys_info_app(self.udir)
     return sys_info.import_extension(
         modname, functions, prologue=prologue,
         include_dirs=include_dirs, more_init=more_init,
         PY_SSIZE_T_CLEAN=PY_SSIZE_T_CLEAN)
Beispiel #2
0
 def w_import_module(self, name, init=None, body='', filename=None,
         include_dirs=None, PY_SSIZE_T_CLEAN=False):
     from extbuild import get_sys_info_app
     sys_info = get_sys_info_app(self.udir)
     return sys_info.import_module(
         name, init=init, body=body, filename=filename,
         include_dirs=include_dirs,
         PY_SSIZE_T_CLEAN=PY_SSIZE_T_CLEAN)
Beispiel #3
0
 def w_compile_module(self,
                      name,
                      source_files=None,
                      source_strings=None):
     from extbuild import get_sys_info_app
     sys_info = get_sys_info_app(self.udir)
     return sys_info.compile_extension_module(
         name,
         source_files=source_files,
         source_strings=source_strings)
Beispiel #4
0
 def w_import_extension(self,
                        modname,
                        functions,
                        prologue="",
                        include_dirs=None,
                        more_init="",
                        PY_SSIZE_T_CLEAN=False):
     from extbuild import get_sys_info_app
     sys_info = get_sys_info_app(self.udir)
     return sys_info.import_extension(
         modname,
         functions,
         prologue=prologue,
         include_dirs=include_dirs,
         more_init=more_init,
         PY_SSIZE_T_CLEAN=PY_SSIZE_T_CLEAN)
Beispiel #5
0
 def w_import_module(self,
                     name,
                     init=None,
                     body='',
                     filename=None,
                     include_dirs=None,
                     PY_SSIZE_T_CLEAN=False):
     from extbuild import get_sys_info_app
     sys_info = get_sys_info_app(self.udir)
     return sys_info.import_module(
         name,
         init=init,
         body=body,
         filename=filename,
         include_dirs=include_dirs,
         PY_SSIZE_T_CLEAN=PY_SSIZE_T_CLEAN)
Beispiel #6
0
 def w_load_module(self, mod, name):
     from extbuild import get_sys_info_app
     sys_info = get_sys_info_app(self.udir)
     return sys_info.load_module(mod, name)
Beispiel #7
0
 def w_compile_module(self, name,
         source_files=None, source_strings=None):
     from extbuild import get_sys_info_app
     sys_info = get_sys_info_app(self.udir)
     return sys_info.compile_extension_module(name,
         source_files=source_files, source_strings=source_strings)
Beispiel #8
0
 def w_load_module(self, mod, name):
     from extbuild import get_sys_info_app
     sys_info = get_sys_info_app(self.udir)
     return sys_info.load_module(mod, name)