[OpenWrt-Devel] alternative for "pyserial+python-mini"

valent.turkovic at gmail.com valent.turkovic at gmail.com
Tue Jul 21 16:48:18 EDT 2015


Just found this --
https://dev.openwrt.org/browser/packages/lang/python/files/python-package.mk?rev=13921
-- which suggests that 7 years ago .pyc file creation was turned OFF
for Python.

I can only assume that it was because of the SquashFS issue, so my
question is: Can we precompile Python files at image creation time so
that they can be included in the SquashFS from the beginning. Maybe a
cross-compiling guru can enlighten us?

On 2 July 2015 at 11:25, Alexandru Ardelean <ardeleanalex at gmail.com> wrote:
> Will make time to update Python :)
>
>
> On Thu, Jul 2, 2015 at 11:51 AM, valent.turkovic at gmail.com
> <valent.turkovic at gmail.com> wrote:
>>
>> Come on guys help me out with Python wiki page, it looks like I know
>> much less about python that you and I'm the only one documenting this
>> which is bad :)
>>
>> Take a look at latest version:
>> http://wiki.openwrt.org/doc/software/python
>>
>> On 27 June 2015 at 22:42, Christian Mehlis <christian at m3hlis.de> wrote:
>> > Am 26.06.2015 um 14:57 schrieb valent.turkovic at gmail.com:
>> >>
>> >> Does micro-python have some alternative or replacement for pyserial?
>> >
>> >
>> > you can use stty[1] from busybox to configure the tty.
>> > After that every program can use regular read/write calls...
>> >
>> > [1] http://unixhelp.ed.ac.uk/CGI/man-cgi?stty
>> >
>> > Best
>> > Christian
>> >
>> > _______________________________________________
>> > openwrt-devel mailing list
>> > openwrt-devel at lists.openwrt.org
>> > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list