[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] pyqtdeploy andorid - static python 3.4.0
From:       Stephen Chapman <schapman1974 () gmail ! com>
Date:       2015-06-25 13:17:10
Message-ID: CAGLrwVamtpuEh-O-s3xoCEo0fqDa7XmR9w9Fz5Q1qwSoxbzVAA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Looking at my sysroot directory.  It looks like i did compile those
seperately and put them in sysroot/lib/lib-dynload folder.  With my more
recent failed tries at PyQt5.4.2/Python3.4.3 is where I have put them in
the pro file.  And I have yet to test that.  I do have a ctypes library
compiled as well.  And if memory serves it took quite a bit to get that
compiled.

On Thu, Jun 25, 2015 at 3:18 AM, Eugene Chekanskiy <echekanskiy@gmail.com>
wrote:

> Maybe I need include ctypes too? Anyway, it will be great if you will
> share your working python.pro with additional modules :)
>
> 2015-06-25 10:09 GMT+03:00 Eugene Chekanskiy <echekanskiy@gmail.com>:
>
>> Hm, can you please share changes for timemodule.c? I just was adding
>> Modules/timemodule.c, python was compiled(i saw that timemodule.o was
>> linked from output), but importing time was crashing my app. Maybe I need
>> something more to make time module working?
>> BTW is there a way to see standart python output (eg what we see when
>> running regular python from command line) in logcat?
>>
>> 2015-06-25 2:02 GMT+03:00 Stephen Chapman <schapman1974@gmail.com>:
>>
>>> I added several modules including Modules/timemodule.c to mine and it
>>> seems to work just fine.
>>>
>>> I maintain a python.pro for when i have to statically build python.
>>> Currently the python.pro is copied from the
>>> pyqtdeploy/python/configurations folder in your python site-packages
>>>
>>> On Wed, Jun 24, 2015 at 5:46 PM, Eugene Chekanskiy <
>>> echekanskiy@gmail.com> wrote:
>>>
>>>> Hello everyone. I was trying to build static python for android usinf
>>>> pyqtdeploy. Everything going fine, but in the end I can't import module
>>>> time. As far as i see it is not included in python.pro file. Is it
>>>> possible to compile python with this module?
>>>>
>>>> _______________________________________________
>>>> PyQt mailing list    PyQt@riverbankcomputing.com
>>>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>>>
>>>
>>>
>>
>

[Attachment #5 (text/html)]

<div dir="ltr">Looking at my sysroot directory.   It looks like i did compile those 
seperately and put them in sysroot/lib/lib-dynload folder.   With my more
 recent failed tries at PyQt5.4.2/Python3.4.3 is where I have put them 
in the pro file.   And I have yet to test that.   I do have a ctypes library compiled \
as well.   And if memory serves it took quite a bit to get that \
compiled.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun \
25, 2015 at 3:18 AM, Eugene Chekanskiy <span dir="ltr">&lt;<a \
href="mailto:echekanskiy@gmail.com" \
target="_blank">echekanskiy@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Maybe I need include ctypes too? Anyway, it \
will be great if you will share your working <a href="http://python.pro" \
target="_blank">python.pro</a> with additional modules :)</div><div \
class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div \
class="gmail_quote">2015-06-25 10:09 GMT+03:00 Eugene Chekanskiy <span \
dir="ltr">&lt;<a href="mailto:echekanskiy@gmail.com" \
target="_blank">echekanskiy@gmail.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hm, can you please share changes for \
timemodule.c? I just was adding Modules/timemodule.c, python was compiled(i saw that \
timemodule.o was linked from output), but importing time was crashing my app. Maybe I \
need something more to make time module working?<div>BTW is there a way to see \
standart python output (eg what we see when running regular python from command line) \
in logcat?</div></div><div><div><div class="gmail_extra"><br><div \
class="gmail_quote">2015-06-25 2:02 GMT+03:00 Stephen Chapman <span dir="ltr">&lt;<a \
href="mailto:schapman1974@gmail.com" \
target="_blank">schapman1974@gmail.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>I added several modules including \
Modules/timemodule.c to mine and it seems to work just fine.<br><br></div>I maintain \
a <a href="http://python.pro" target="_blank">python.pro</a> for when i have to \
statically build python.   Currently the <a href="http://python.pro" \
target="_blank">python.pro</a> is copied from the pyqtdeploy/python/configurations \
folder in your python site-packages<br></div><div class="gmail_extra"><br><div \
class="gmail_quote"><span>On Wed, Jun 24, 2015 at 5:46 PM, Eugene Chekanskiy <span \
dir="ltr">&lt;<a href="mailto:echekanskiy@gmail.com" \
target="_blank">echekanskiy@gmail.com</a>&gt;</span> wrote:<br></span><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span><div dir="ltr">Hello everyone. I was trying to build \
static python for android usinf pyqtdeploy. Everything going fine, but in the end I \
can&#39;t import module time. As far as i see it is not included in <a \
href="http://python.pro" target="_blank">python.pro</a> file. Is it possible to \
compile python with this module?</div> \
<br></span>_______________________________________________<br> PyQt mailing list      \
<a href="mailto:PyQt@riverbankcomputing.com" \
target="_blank">PyQt@riverbankcomputing.com</a><br> <a \
href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" \
target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br></div>
 </blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic