java2python
java2python copied to clipboard
from java2python.mod.include import sync
c:\python27\lib\site-packages\java2python\mod\basic.py(151): from java2python.mod.include import sync
This statement fails, because there is no module "include".
grep found a sync in
c:\python27\lib\site-packages\java2python\compiler\visitor.py(559)
is that the one that should be included? comments seem to indicate differently ...
There actually is a sync.py
in java2python/mod/include
which is the intended import.
Is this helping you?
the "include" directory doesn't seem to be copied to the correct location when someone does a setup.py install.
I see the same thing, had to copy the include module into the mod dir
Add java2python.mod.include
to the setup.py
and install again.
diff --git a/setup.py b/setup.py
index fd8cf18..210d623 100644
--- a/setup.py
+++ b/setup.py
@@ -59,6 +59,7 @@ setup(
'java2python.lang',
'java2python.lib',
'java2python.mod',
+ 'java2python.mod.include',
],
package_data={
fixed in pull request #33