You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
332 B

#!/usr/bin/python
# -*- coding:utf-8 -*-
import compileall
maxLevels = 256
compileDir = '/usr'
compileall.compile_dir(compileDir, quiet = 1, maxlevels = maxLevels)
compileall.compile_dir(compileDir, quiet = 1, maxlevels = maxLevels, optimize = 1)
compileall.compile_dir(compileDir, quiet = 1, maxlevels = maxLevels, optimize = 2)