This is a followup to the earlier What is __pycache__? question.
Is there a way to tell python-3.x
to always put its __pycache__
directory (or the *.pyc
files it contains) in some designated place. E.g. by setting some environment variable like PYCACHEDIR=${HOME}/bin/python-cache
?
For the record, I am using Mac OS X.10.3 & python3 installed with brew.