Commit 550bb60a authored by Robert Bradshaw's avatar Robert Bradshaw

Fix ticket #4, from package cimport module

parent 7c34236c
......@@ -254,6 +254,10 @@ class Context(object):
if debug_find_module:
print("......found ", pxd_pathname)
if not pxd_pathname and need_pxd:
package_pathname = self.search_include_directories(module_name, ".py", pos)
if package_pathname and package_pathname.endswith('__init__.py'):
pass
else:
error(pos, "'%s.pxd' not found" % module_name)
if pxd_pathname:
try:
......
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