Commands¶
clearpyc¶
Clears .pyc files from the project.
-
--noinput¶ Do NOT prompt the user for input of any kind.
-
-f,--force¶ Force the removing files without user interaction.
-
-p,--with-pythonpath¶ Remove also PYTHONPATH libraries.
-
path¶ Directories with libraries
Example¶
Run command for application directory only, without prompts and list
processed files:
./manage.py clearpyc --noinput --verbosity 2 application
compilepyc¶
Compiles .pyc files in the project.
-
-f,--force¶ Force the compiling files even if timestamps are up-to-date.
-
-p,--with-pythonpath¶ Compile also PYTHONPATH libraries.
-
path¶ Directories with libraries
Example¶
Run command Run command for application directory only and list processed
files:
./manage.py compilepyc --verbosity 2 application