java2python icon indicating copy to clipboard operation
java2python copied to clipboard

from java2python.mod.include import sync

Open pvrijlandt opened this issue 12 years ago • 6 comments

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 ...

pvrijlandt avatar Jul 21 '12 21:07 pvrijlandt

There actually is a sync.py in java2python/mod/include which is the intended import.

Is this helping you?

iuliux avatar Aug 27 '12 15:08 iuliux

the "include" directory doesn't seem to be copied to the correct location when someone does a setup.py install.

ghost avatar Aug 27 '12 17:08 ghost

I see the same thing, had to copy the include module into the mod dir

cfletcher1856 avatar Jan 02 '13 15:01 cfletcher1856

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={

knoguchi avatar Jun 11 '13 14:06 knoguchi

fixed in pull request #33

bdkearns avatar Oct 24 '14 07:10 bdkearns