From: Stefan R. <Ste...@gm...> - 2017-06-02 12:23:24
|
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div> <div>You can try if it is maybe workable with JyNI.</div> <div>However, even with JyNI it is currently not possible to cythonize pyx files with Jython. You can use cpython for cythonizing and then add the location of the resulting so-files to sys.path.</div> <div> </div> <div>That said, I'm not sure how useful a Kivy/Jython combination would be. AFAIK main strength of kivy is availability on mobile platforms. Unfortunately, running Jython on Android is not yet feasible.</div> <div> </div> <div>-Stefan</div> <div> <div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"> <div style="margin:0 0 10px 0;"><b>Gesendet:</b> Donnerstag, 01. Juni 2017 um 23:00 Uhr<br/> <b>Von:</b> "Tom Dossis" <td...@yo...><br/> <b>An:</b> jyt...@li...<br/> <b>Betreff:</b> Re: [Jython-users] Kivy with Jython</div> <div name="quoted-content"> <div> <div>Doesn’t look like it work with jython.</div> It failed to install it into a jython 2.7.1b3 virtualenv: <div> </div> <div>(.virtualenv) MacbookPro: td$ pip install Cython<br/> Collecting Python<br/> …</div> <div>Successfully built Cython<br/> Installing collected packages: Cython<br/> Successfully installed Cython-0.25.2<br/> <br/> (.virtualenv) MacbookPro; td$ pip install kivy <br/> Collecting kivy<br/> …</div> <div> Detected compiler is jython<br/> cythoning /private/var/folders/3q/hq68tjms01q_rl2y7ky56mkh0000gp/T/pip-build-BdDxz9/kivy/kivy/graphics/svg.pyx to /private/var/folders/3q/hq68tjms01q_rl2y7ky56mkh0000gp/T/pip-build-BdDxz9/kivy/kivy/graphics/svg.c<br/> building 'kivy.graphics.svg' extension<br/> error: Compiling extensions is not supported on Jython<br/> <div> <div> <blockquote> <div>On 2 Jun 2017, at 3:25 AM, John Anderson <<a href="mailto:day...@gm..." onclick="parent.window.location.href='day...@gm...'; return false;" target="_blank">day...@gm...</a>> wrote:</div> <div> <div> <p><font size="+1"> I have a Python app that uses Kivy. I would like to do some debugging on this app using Netbeans. I can run the app in Netbeans using a Python platform, but cannot use the debugger. If I select the Jython platform, the debugger is available, but when I try to run the app it complains about no Kivy module. I cannot find any information about installing Kivy in Jython. Is it possible to install Kivy under Jython? If so, can anyone give me a hint on how to install it?</font></p> <p> </p> <p><font size="+1"> Thanks,</font></p> <p><font size="+1"> -John</font></p> <p> </p> </div> ------------------------------------------------------------------------------<br/> Check out the vibrant tech community on one of the world's most<br/> engaging tech sites, <a href="http://slashdot.org" target="_blank">Slashdot.org</a>! <a href="http://sdm.link/slashdot_______________________________________________" target="_blank">http://sdm.link/slashdot_______________________________________________</a><br/> Jython-users mailing list<br/> <a href="mailto:Jyt...@li..." onclick="parent.window.location.href='Jyt...@li...'; return false;" target="_blank">Jyt...@li...</a><br/> <a href="https://lists.sourceforge.net/lists/listinfo/jython-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/jython-users</a></div> </blockquote> </div> </div> </div> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot_______________________________________________" target="_blank">http://sdm.link/slashdot_______________________________________________</a> Jython-users mailing list Jyt...@li... <a href="https://lists.sourceforge.net/lists/listinfo/jython-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/jython-users</a></div> </div> </div> </div> </div></div></body></html> |