The SKIRT project
advanced radiative transfer for astrophysics
Functions
pts.admin.do.remove_pyc Namespace Reference

Remove all compiled Python files from the local PTS repository. More...

Functions

"remove all compiled Python files from the local PTS repository" do ()
 

Detailed Description

Remove all compiled Python files from the local PTS repository.

This script removes all compiled Python files (*.pyc and __pycache__ directories) from the local PTS repository. Although these files are ignored by git, removing them can be useful to clean the local repository after one or more Python source files have been relocated or renamed.