Is that standard behaviour ? $ py2cpp c64_main.py * SHED SKIN Python-to-C++ Compiler 0.9.4 * Copyright 2005-2011 Mark Dufour; License GNU GPL version 3 (See LICENSE)
ERROR c64_main.py:4: cannot locate module: pygtk py2cpp is renamed scripts/shedskin copied one directory up (named shedskin, so name can't be the same) and aliased in shell.
Everything is fine with my python instalation: >>> from sys import path as ptSys >>> ptSys ['', '/usr/lib64/python2.7/site-packages/uniconvertor/app/modules', '/usr/lib64/python27.zip', '/usr/share/python2.7', '/usr/share/python2.7/plat-linux2', '/usr/share/python2.7/lib-tk', '/usr/share/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/share/python2.7/site-packages'] >>> import pygtk, gtk >>> help() help> modules
Please wait a moment while I gather a list of all available modules...
[...] array gnomevfs pygtk whichdb [...] atom gtk pyrra xdg [...] Instaled python-devel-2.7.6-1.x86_64
Comment #1
Posted on Feb 6, 2014 by Happy Camelthanks for the feedback. please see examples/README for compilation instructions. the 'main' program cannot be compiled, because shedskin doesn't support modules such as pygtk.
Comment #2
Posted on Feb 6, 2014 by Massive DogThanks for fast reply. Most of my python application is pygtk based. Is there some manual to force shedskin like in c64 example ? BTW. if module_name not(in suported_module_list): print("ERROR %s module not suported yet" % (module_name)) sys.exit(1)
;)
Status: WontFix
Labels:
Type-Defect
Priority-Medium