Home All Sections
 


Hosted by...
Linode
 

Sponsored Links

 

PYCOMPILE

Section: User Commands (1)
Updated: August 2010
Index Return to Main Contents
 

NAME

pycompile - byte compile Python source files  

SYNOPSIS

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

pycompile -p PACKAGE  

DESCRIPTION

Wrapper around py_compile to byte-compile python files.  

OPTIONS

--version
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: '2.5' (version 2.5 only), '2.5-' (version 2.5 or newer), '2.5-2.7' (version 2.5 or 2.6), '-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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS

This document was created by man2html, using the manual pages.
 
Manpages About Webmaster