News for hackers. Stuff that matters.
Re:Git-based fabric deploys are awesome by brown9-2 on Friday May 11, 2012 @09:59AM (#3959192)
The problem being described is not .pyc files being pushed in the git repository. The problem is on the target server, the python runtime creates .pyc files for modules as they are imported/used, and if a deployment removes some .py files, you would be left with the .pyc file unless you take (simple) action to remove it during the deployment.
Re:Git-based fabric deploys are awesome by 5h on Friday May 11, 2012 @10:50AM (#3959460)
of course, the perils of replying after skim reading!

as pointed out, hooks are a perfect fit for this.