Python Makefiles... are they possible?

Chris Angelico rosuav at gmail.com
Thu Feb 14 01:43:21 EST 2013


On Thu, Feb 14, 2013 at 1:46 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> I prefer to keep the .pyc files, and only remove them when necessary, rather
> than to remove them whether it's necessary or not.

Solution to that could be just to have your makefile wipe out
orphanned pyc files, rather than all of them. Still might be a
performance hit (if it has to wade through piles of pyc/py files to
see which ones aren't needed), but otherwise should be safe.

ChrisA



More information about the Python-list mailing list