Unix/Linux Go Back    

Linux 2.6 - man page for pycompile (linux section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

PYCOMPILE()									      PYCOMPILE()

       pycompile - byte compile Python source files

       pycompile [-V [X.Y][-][A.B]] DIR_OR_FILE [-X REGEXPR]

       pycompile -p PACKAGE

       Wrapper around Python standard library's py_compile module to byte-compile Python files.

	      show program's version number and exit

       -h, --help
	      show this help message and exit

       -f, --force
	      force rebuild of byte-code files even if timestamps are up-to-date

       -O     byte-compile to .pyo files

       -q, --quiet
	      be quiet

       -v, --verbose
	      turn verbose mode on

       -p PACKAGE, --package=PACKAGE
	      specify Debian package name whose files should be bytecompiled

       -V VRANGE
	      force  private  modules  to  be  bytecompiled with Python version from given range,
	      regardless of the default Python version in the  system.	If  there  are	no  other
	      options,	bytecompile  all  public modules for installed Python versions that match
	      given range. VERSION_RANGE examples:

       o 2.5	version 2.5 only

       o 2.5-	version 2.5 or newer

       o 2.5-2.7	version 2.5 or 2.6

       o -3.0	all supported 2.X versions

       -X REGEXPR, --exclude=REGEXPR
	 exclude items that match given REGEXPR. You may use this option multiple times to  build
	 up a list of things to exclude

Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 10:28 PM.