The following reply was made to PR ports/155435; it has been noted by GNATS.
From: Raphael Kubo da Costa <kub...@gmail.com> To: "Jason E. Hale" <bsdkaf...@gmail.com> Cc: bug-follo...@freebsd.org Subject: Re: ports/155435: [PATCH] devel/kdebindings4-python-pykdeuic4 leaves .pyo files after deinstall Date: Fri, 11 Mar 2011 11:18:11 -0300 "Jason E. Hale" <bsdkaf...@gmail.com> writes: > Right. It works as it was intended; generate the .pyc file and install the > .py and .pyc files. Somehow the .pyo files are being generated at runtime. > I > have not figured out what is causing that. I only discovered it because I > was > switching from Python 2.6.x to Python 2.7.x and was looking at all the > leftovers in the site-packages directory. I suspect something might be wrong with the Python handling code in ports -- I also had a lot of *.pyo files in my 2.6 site-packages after the ports were upgraded to 2.7, and I had to manually remove them. > I simply got to the bottom of why the .pyo files were not being installed in > the first place since just about every other Python application in the ports > tree installs them. That is why I patched the PYTHON_INSTALL macro to also > install the optimized byte-compiled code. I see. Well, I'd rather have this kind of change discussed upstream. As for this specific problem, I don't think it's KDE's fault. _______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information