title: Enable Cython profiling for whole program?
body: <p>The Cython docs say "Profiling in Cython is controlled by a compiler directive. It can be set either for an entire file or on a per function basis via a Cython decorator."</p>
  
  <p>Is there any easy way to enable Cython profiling for an entire Python program? That is, is there a way for me to not have to go through and add <code># cython: profile=True</code> to dozens of files each time I want to turn profiling on and off?</p>