Does anyone have any tips on getting py2exe to know that a Cython
module is doing a cimport of another Cython module?

In the top level of my directory, I have a file PC_viewer.py, and a
Cython module reader.pyx. reader.pyx does the following cimport:

from filters.dc cimport DC


So there's a 'filters' directory, in there I have a 'dc' module, which
has a DC class.

Everything works fantastically when just running with straight Python,
but the executables created by py2exe don't seem very happy.

$ ./PC_viewer.exe
Traceback (most recent call last):
  File "PC_viewer.py", line 14, in <module>
  File "reader.pyc", line 12, in <module>
  File "reader.pyc", line 10, in __load
  File "dc.pxd", line 1, in reader (reader.c:8732)
ImportError: No module named dc

Any thoughts or tips? The 'dc' module doesn't show up in the
library.zip created by py2exe.



Jay P.
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to