diff --git a/distutils.ext/obidistutils/command/build_ext.py b/distutils.ext/obidistutils/command/build_ext.py index c3d47bd..8d00634 100644 --- a/distutils.ext/obidistutils/command/build_ext.py +++ b/distutils.ext/obidistutils/command/build_ext.py @@ -29,6 +29,10 @@ try: def modifyDocScripts(self): + try: + os.mkdir("doc/sphinx") + except: + pass build_dir_file=open("doc/sphinx/build_dir.txt","w") print(self.build_lib,file=build_dir_file) build_dir_file.close() @@ -92,13 +96,17 @@ try: ext.sources = self.substitute_sources(ext.name,ext.sources) self.check_extensions_list(self.extensions) - + + print("pouic") + print(ext.sources) + print("pouac") + for ext in self.extensions: log.info("%s :-> %s",ext.name,ext.sources) ext.sources = self.cython_sources(ext.sources, ext) self.build_extension(ext) - def build_extensions(self): + def build_extensions(self): # TODO what?? double? is it supposed to be build_extension? if hasattr(self, 'compiler'): _customize_compiler(self.compiler) if hasattr(self, 'shlib_compiler'):