[Python-Dev] .pyc location? (original) (raw)
Andreas Raab andreas.raab at gmx.de
Fri Nov 23 19:02:15 CET 2007
- Previous message: [Python-Dev] .pyc location?
- Next message: [Python-Dev] .pyc location?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Coghlan wrote:
Issues with collocating the compiled files with the source files do arise occasionally, but they can generally be resolved by having root run compileall [1] over the affected directories. In cases where users are able to modify source files (hence leading to the need to recompile them after installation), those users are also typically able to write the necessary .pyc files to the same directory.
Thanks, I'll try using compileall before digging deeper. If the file times are preserved correctly by the various installers this should do the trick.
Cheers,
- Andreas
- Previous message: [Python-Dev] .pyc location?
- Next message: [Python-Dev] .pyc location?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]