diff --git a/MANIFEST.in b/MANIFEST.in index c151145c..521b9c00 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -9,6 +9,6 @@ recursive-include scikits/image/data * include doc/Makefile recursive-include doc/source *.txt recursive-include doc/tools *.txt -recursive-include doc/source/_templates/ *.html +recursive-include doc/source/_templates *.html recursive-include doc *.py prune doc/build diff --git a/scikits/image/_build.py b/scikits/image/_build.py index 6d487eac..7802428b 100644 --- a/scikits/image/_build.py +++ b/scikits/image/_build.py @@ -27,7 +27,8 @@ def cython(pyx_files, working_path=''): # run cython compiler cmd = 'cython -o %s %s' % (c_file_new, pyxfile) print cmd - status = subprocess.call(['cython', '-o', c_file_new, pyxfile]) + status = subprocess.call(['cython', '-o', c_file_new, pyxfile], + shell=True) # if the resulting file is small, cython compilation failed if status != 0 or os.path.getsize(c_file_new) < 100: print "Cython compilation of %s failed. Falling back " \