[OpenWrt-Devel] OpenWRT: how to include byte-compile .pyc files into sysupgrade image?
xbing6 at gmail.com
Fri Feb 17 02:42:42 EST 2017
Thanks a lot for your help. I am using Python 2.7.12, branch
chaos_calmer from (git://github.com/openwrt/openwrt.git), feeds branch
Also, I am using Atheros platform based on MIPS architecture.
On 2017年02月17日 15:31, Alexandru Ardelean wrote:
> This is an old topic.
> Let me think about it, for a bit.
> Quick q: which Python version are you using and from which repo/branch ?
> I usually test against trunk.
> On Fri, Feb 17, 2017 at 8:40 AM, Xuebing Wang <xbing6 at gmail.com> wrote:
>> Hi Community and Alexandru:
>> I am using OpenWrt chaos_calmer for an Atheros based platform, we have a
>> complicated Python application which takes time to run.
>> - On the target board, I can "python -m compileall ." for Python standard
>> libraries in directories "/usr/lib/python2.7", and boot time can improve
>> Would you please advise how can I change in files feeds/packages/lang/python
>> to byte-compile Python libraries and include .pyc files in the sysupgrade
>> I am using below packages:
>> xuebing wang
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel