On czw, 2014-11-13 at 23:12 -0800, Edward Wingate wrote: > I've been trying to get an existing python flask application running > on an embedded linux distro (Poky). The web app was originally > deployed on a Debian distro. I need to move the application to a less > heftier board and wanted to try a distro created by Yocto, rather than > try to pare down Debian. > > I've been following the chain of dependencies for the web application > and adding them to Yocto to try and get the app to work (nginx, uwsgi, > python, pyserial, etc.), and hit a bump - Python's built-in logging > and codecs modules are not provided by Yocto. Maybe I can add them > myself, or maybe I'll rip them out of the application, but I wanted to > take a step back and see if maybe Python/Flask is not the best app > framework to use in an embedded linux distro. Have you installed python-modules pacakge? This package pulls in all standard python modules as dependencies.
I've used Tornado to provide a REST-ful API for an Android application and some basic web pages with status information and so on. Worked quite well. -- Maciej Borzęcki Senior Software Developer at Open-RnD Sp. z o.o., Poland www.open-rnd.pl mobile: +48 889 117 365, fax: +48 42 657 9079 Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem lub poufne informacje i została wysłana wyłącznie do wiadomości i użytku osób, do których została zaadresowana. Jeśli wiadomość została otrzymana przypadkowo zabrania się jej kopiowania lub rozsyłania do osób trzecich. W takim przypadku uprasza się o natychmiastowe zniszczenie wiadomości oraz poinformowanie nadawcy o zaistniałej sytuacji za pomocą wiadomości zwrotnej. Dziękujemy. This message, including any attachments hereto, may contain privileged or confidential information and is sent solely for the attention and use of the intended addressee(s). If you are not an intended addressee, you may neither use this message nor copy or deliver it to anyone. In such case, you should immediately destroy this message and kindly notify the sender by reply email. Thank you. -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto