Commit 25da08f4 authored by Eric Coissac's avatar Eric Coissac

Patch few bugs in obidistutils

parent 50c60404
......@@ -13,7 +13,7 @@ from distutils.errors import DistutilsSetupError
class build_ext(ori_build_ext):
def modifyDocScripts(self):
build_dir_file=open("doc/sphinx/build_dir.txt","w")
build_dir_file=open("doc/build_dir.txt","w")
print(self.build_lib,file=build_dir_file)
build_dir_file.close()
......
......@@ -62,7 +62,7 @@ def findCython(root,base=None,pyrexs=None):
cfiles = [x for x in cfiles if x[-2:]==".c"]
pyrexs[-1].sources.extend(cfiles)
pyrexs[-1].include_dirs.extend(incdir)
pyrexs[-1].extra_compile_args.extend(['-msse2'])
pyrexs[-1].extra_compile_args.extend(['-msse2','-Wno-unused-function'])
except IOError:
pass
......@@ -80,7 +80,7 @@ def prepare_commands():
from obidistutils.command.littlebigman import littlebigman
from obidistutils.command.build_cexe import build_cexe
from obidistutils.command.build_sphinx import build_sphinx
from obidistutils.command import build_ext
from obidistutils.command.build_ext import build_ext
from obidistutils.command.build_ctools import build_ctools
from obidistutils.command.build_files import build_files
from obidistutils.command.build_scripts import build_scripts
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment