[csw-maintainers] Problem compiling Python files

Maciej (Matchek) Blizinski maciej at opencsw.org
Fri Sep 25 15:43:34 CEST 2009


On Fri, Sep 25, 2009 at 2:24 PM, Ben Walton <bwalton at opencsw.org> wrote:
> Excerpts from Maciej (Matchek) Blizinski's message of Fri Sep 25 08:39:09 -0400 2009:
>
>> I kept on seeing that each time I installed a Python package using
>> cswpycompile, it could (re)compile all the existing .py files, not
>> just the ones being installed. Perhaps there were .py files lying
>> around? Try to put a broken .py file in site-packages and reinstall
>> the package.
>
> Ok, so you're saying the cswpycompile is slurping up too much when it
> runs?  I haven't looked (recently) at this...
>
> To trigger this bug then, you'd need to update a package that uses
> cswpycompile and any another python package regardless of cswpycompile
> use?

Yes. In other words, to reproduce:

echo '"' > /opt/csw/lib/python/site-packages/broken.py
pkgutil -i py_fpconst | less



More information about the maintainers mailing list