Re: Looking for tips and gotchas for working with Python 3.5 zipapp feature

2019-07-01 Thread Malcolm Greene
> I am exactly in the "pretty advanced usage": I want to create a zip that > embed numpy. In this case, I have to bundle the C extension. How can I do > that? 1. PyInstaller 2. PyOxide (new technology, may or may not support Numpy) Let us know how you make out. Malcolm -- https://mail.python

Re: Looking for tips and gotchas for working with Python 3.5 zipapp feature

2019-07-01 Thread Simon
> The other main limitation (not so much a gotcha as a consequence of > how the OS works) is that you can't load C extensions (pyd or so > files) from a zipfile. If you need to do that, you'll have to bundle > the C extensions to work around that limitation, but that's pretty > advanced usage. >

Re: Looking for tips and gotchas for working with Python 3.5 zipapp feature

2016-09-24 Thread Malcolm Greene
Hi Paul, > Just one further note, which may or may not be obvious. If your application > uses external dependencies from PyPI, you can bundle them with your > application using pip's --target option ... Cool stuff! To your question: None of what you've shared has been obvious to me :) Packagi

Re: Looking for tips and gotchas for working with Python 3.5 zipapp feature

2016-09-23 Thread Paul Moore
On Tuesday, 20 September 2016 05:45:53 UTC+1, Malcolm Greene wrote: > I really appreciate the detailed response. You answered all my > questions. I'm looking forward to testing out your pylaunch wrapper. Just one further note, which may or may not be obvious. If your application uses external

Re: Looking for tips and gotchas for working with Python 3.5 zipapp feature

2016-09-19 Thread Malcolm Greene
Hi Paul, WOW!:) I really appreciate the detailed response. You answered all my questions. I'm looking forward to testing out your pylaunch wrapper. Thank you very much! Malcolm -- https://mail.python.org/mailman/listinfo/python-list

Re: Looking for tips and gotchas for working with Python 3.5 zipapp feature

2016-09-19 Thread Paul Moore
On 16 September 2016 19:48 at 21:08, Malcolm Greene wrote: > Looking for tips or edge case gotchas associated with using Python 3.5's > new zipapp feature. It's worth pointing out that support for executing zipped applications has been part of Python since Python 2.6 or so. The pyz files created