[Ironpython-users] standard lib: pyc or zip it?
hfoffani at gmail.com
Fri Mar 16 16:47:08 CET 2012
El 16/03/2012, a las 16:28, Jeff Hardy escribió:
> On Fri, Mar 16, 2012 at 3:33 AM, Hernán Foffani <hfoffani at gmail.com> wrote:
>> Say I want to distribute a smaller (in quantity of files) Python standard library. What would you recommend? Pyc the whole library to build a DLL or just zip it? Are there any performance difference between the two? Any other alternative or best practice?
> I know that some people have pyc'd the standard library in the past,
> but with zipimport being so new I don't know if anyone has tried it
> yet. I haven't heard from anyone who has, at least. You might have to
> give both a try, and if you can let us know the results that would be
> very helpful.
I was one of them.. ;-) There were some problems back then with some
packages which made me fall back to the standard files distribution.
As Slide noted, zipimport makes it very easy now. I might give pyc a
shot in the near future.
More information about the Ironpython-users