From 65c6d4b9a3ee6b32cbd9d44091df116e23b81f0b Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Mon, 29 Jun 2015 08:14:18 +0200 Subject: [PATCH] Don't generate .pyc files. --- src/scriptform.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scriptform.py b/src/scriptform.py index ef45e6e..b9da493 100755 --- a/src/scriptform.py +++ b/src/scriptform.py @@ -33,6 +33,9 @@ Main ScriptForm program """ import sys +if hasattr(sys, 'dont_write_bytecode'): + sys.dont_write_bytecode = True + import optparse import os import json