Hey all,

I'm new to Jython, and I've started working on the bz2 module implementation. I've looked at the PortingPythonModulesToJython wiki, and I was following that, but I can't seem to get my bz2 module to be recognized:

Traceback (most recent call last):
  File "test_bz2.py", line 11, in <module>
    import bz2
ImportError: No module named bz2

It appears that there is more than one way to register a module, if the "JythonModulesInJava" is still valid:

"My new approach is borrowed slightly from CPython where it's very common to write a C library, a straight wrapper and then a Pythonic wrapper."

So, is there a way I can use the new approach? It looks like (reading the CPythonLib/csv.py) that if I create a "bz2.py" file in the CPythonLib directory, then jython might see it? Or is there a piece of ant that copies the ... oh there it is.

CPythonLib.includes. There it is. Thanks for the help!
Steve