Commit faf0574b authored by Robert Bradshaw's avatar Robert Bradshaw

minor changes to get pyximport working

parent 53c3e2bf
......@@ -24,12 +24,12 @@ setup(
url = "http://www.prescod.net/pyximport",
license = "Python",
keywords = "pyrex import hook",
scripts = ["pyxrun"],
data_files = [("examples/multi_file_extension",
["README", "ccode.c", "test.pyx", "test.pyxbld"]),
("examples/dependencies",
["README", "test.pyx", "test.pyxdep", "header.h",
"header2.h", "header3.h", "header4.h"])
],
# scripts = ["pyxrun"],
# data_files = [("examples/multi_file_extension",
# ["README", "ccode.c", "test.pyx", "test.pyxbld"]),
# ("examples/dependencies",
# ["README", "test.pyx", "test.pyxdep", "header.h",
# "header2.h", "header3.h", "header4.h"])
# ],
py_modules = ["pyximport", "pyxbuild"])
......@@ -10,7 +10,7 @@ from distutils.dist import Distribution
from distutils.errors import DistutilsArgError, DistutilsError, CCompilerError
from distutils.extension import Extension
from distutils.util import grok_environment_error
from Pyrex.Distutils import build_ext
from Cython.Distutils import build_ext
import shutil
DEBUG = 0
......
......@@ -55,7 +55,7 @@ def _load_pyrex(name, filename):
def get_distutils_extension(modname, pyxfilename):
extra = "_" + md5.md5(open(pyxfilename).read()).hexdigest()
modname = modname + extra
# modname = modname + extra
extension_mod = handle_special_build(modname, pyxfilename)
......
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