Another option is to use a build tool. I use waf
(http://code.google.com/p/waf/), a Python-based framework for
configuring, compiling and installing applications. I have it set up so
that it compiles the Python files, copies Python and other types of
files to an installed location, then remove t
Python doesn't give you a way to write the .pyc files anywhere except
next to their .py files. But you can compile everything ahead of time,
and then either move the .pyc files somewhere else or just delete the
.py files (assuming you have another copy!)
The python module compileall is just f
This is more a deployment question, but: Is there a way of specifying
a directory other than the app folder hierarchy for the .pyc or .pyo
files to be written to? In production, I'm not wild about the idea of
the app folders being writable by the Apache process. Any guidance?
Thanks?
3 matches
Mail list logo