浏览代码

Get rid of .pyc (and possibly .pyo) files

Alois Mahdal 11 年前
父节点
当前提交
b789148a13
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      dotfiles/bash/global-before.bashrc

+ 3
- 0
dotfiles/bash/global-before.bashrc 查看文件

@@ -38,3 +38,6 @@ export GVFS_DISABLE_FUSE=1
38 38
 
39 39
 # disable the terrible beep sound (only for X; for tty?, blacklist pcspkr)
40 40
 [[ ${!DISPLAY[@]} ]] &&  xset b off
41
+
42
+# get rid of those .pyc files once and for all
43
+export PYTHONDONTWRITEBYTECODE=1