[Python-Dev] disable writing .py[co]
Barry A. Warsaw
barry@python.org
Tue, 21 Jan 2003 09:18:40 -0500
>>>>> "SM" == Skip Montanaro <skip@pobox.com> writes:
SM> Instead of an environment variable which functions simply as
SM> an on/off switch, add an environment variable named PYCROOT
SM> which can be used to control writing of .pyc files as follows:
I'm unsure about the environment variable, but given some agreed upon
way(s) to control this, and leaving it up to the applications/users to
decide the right place in the fs to write the .pyc's, there is merit
in this idea.
E.g. Mailman can already be configured to install its read-only parts
in one place and its variable data in another. IWBNI Mailman could
arrange to write its pycs in the var directory.
-Barry