[Python-Dev] Python byte-compiled and optimized code (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Wed Oct 7 17:24:27 CEST 2009
- Previous message: [Python-Dev] Python byte-compiled and optimized code
- Next message: [Python-Dev] Python byte-compiled and optimized code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fred Drake <fdrake gmail.com> writes:
> 3) Is it possible to redirect the location of the generation of .pyc files > to other than that of the corresponding .py files?
I think some support for this has been developed, at least experimentally, but I'm not sure if it's part of a stable release or not. It's more likely in Python 3.x, which I'm significantly less familiar with.
I haven't seen any such thing. If you need pyc files to reside in read-only directories, the best solution would be to generate them at install time (when you have write access to the directories).
Regards
Antoine.
- Previous message: [Python-Dev] Python byte-compiled and optimized code
- Next message: [Python-Dev] Python byte-compiled and optimized code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]