Don't let Python write its .pyc files, that's not really polite...

llvm-svn: 138262
This commit is contained in:
Jim Ingham
2011-08-22 19:10:09 +00:00
parent 618e574253
commit 586b0bd8bd

View File

@@ -2079,6 +2079,7 @@ ScriptInterpreterPython::InitializePrivate ()
PyRun_SimpleString ("import sys");
PyRun_SimpleString ("sys.path.append ('.')");
PyRun_SimpleString ("sys.dont_write_bytecode = 1");
PyRun_SimpleString ("import embedded_interpreter");